The Correct BCD Code for Decimal Number 273.98

What is the correct BCD code for the decimal number 273.98?

The correct BCD code of the given Decimal number 273.98 is d. 0010 0111 0011 .1001 1000.

Understanding BCD Code for Decimal Number

BCD (Binary Coded Decimal) is a coding system that represents each decimal digit with a four-bit binary code. To convert the decimal number 273.98 to BCD, we convert each digit separately. The BCD representation of 2 is 0010, the BCD representation of 7 is 0111, the BCD representation of 3 is 0011, and the BCD representation of 9 is 1001. The decimal point remains as it is. Therefore, the BCD code for the whole number part of 273 is 0010 0111 0011, and for the fractional part .98 is .1001 1000. Combining these parts, we get the BCD representation of the decimal number 273.98 as 0010 0111 0011 .1001 1000. Thus, option d is the correct BCD code for the given decimal number.
← Understanding jakob nielsen s 10 general principles in user interface design Safeguarding your online privacy →