Which one of the following is the equivalent 8421BCD code of the decim

Which one of the following is the equivalent 8421BCD code of the decimal number 87.34 ?

10000111.00110100
10100111.00110100
10001110.11000010
10101110.11000010
This question was previously asked in
UPSC CISF-AC-EXE – 2021
8421 BCD (Binary Coded Decimal) represents each decimal digit by its 4-bit binary equivalent using the weights 8, 4, 2, and 1. To convert the decimal number 87.34 to 8421 BCD, we convert each digit individually:
– Decimal 8: 1000 (8*1 + 4*0 + 2*0 + 1*0 = 8)
– Decimal 7: 0111 (8*0 + 4*1 + 2*1 + 1*1 = 7)
– Decimal point remains the same.
– Decimal 3: 0011 (8*0 + 4*0 + 2*1 + 1*1 = 3)
– Decimal 4: 0100 (8*0 + 4*1 + 2*0 + 1*0 = 4)
Combining these, we get 1000 0111 . 0011 0100. Option A matches this code.
– 8421 BCD represents each decimal digit with its 4-bit binary value.
– The decimal point position is preserved in BCD representation.
BCD is a non-positional system for digits but positional for the number as a whole (e.g., the position of the decimal point matters). While simple for conversion, it is less efficient in terms of storage compared to pure binary representation.