When two BCD numbers 0x14 and 0x08 are added what is the binary representation…

2013

When two BCD numbers 0x14 and 0x08 are added what is the binary representation of the resultant number? ISRO 2013

  1. A.

    0x22

  2. B.

    0x1c

  3. C.

    0x16

  4. D.

    results in overflow

Attempted by 125 students.

Show answer & explanation

Correct answer: A

To add BCD numbers 0x14 and 0x08, first separate the nibbles. Add the lower nibbles: 4 + 8 = 12 (binary 1100). Since 12 is greater than 9, it is an invalid BCD digit. Add 6 (binary 0110) to correct it: 12 + 6 = 18 (binary 10010). This gives a lower nibble of 2 (0010) and a carry of 1. Add the upper nibbles plus the carry: 1 + 0 + 1 = 2. The final BCD result is 0x22, which in binary is 0010 0010.

Explore the full course: Isro