1 Answers

Option 4 : 1100

Concept:

  • 8421 is also known as BCD code
  • BCD is a weighted code.
  • In weighted codes, each successive digit from right to left represents weights equal to some specified value, and to get the equivalent decimal number to add the products of the weights by the corresponding binary digit.

 

The following represents the 4-bit binary representation of decimal values: 

Decimal Symbol

 

BCD Digit

0

0000

1

0001

2

0010

3

0011

4

0100

5

0101

6

0110

7

0111

8

1000

9

1001

 

Explanation:

  • A number with an 'n' decimal digit will require 4k bits in BCD.
  • Ex- Decimal 396 is represented in BCD with 12 bits as 0011 1001 0110, with each group of 4 bits representing one decimal digit.
  • As the decimal digits relating to 1010, 1011, 1100, 1101, 1110, and 1111 do not exist, these are invalid.

In BCD valid states are from 0 to 9. So 1100 is an invalid state.

6 views

Related Questions