What is the BCD code for decimal digit 3?
0011
This question tests BCD (Binary Coded Decimal) encoding. In BCD, each individual decimal digit from 0 to 9 is represented by its own 4-bit binary group using the standard 8-4-2-1 positional weights. Because a 4-bit field can hold values 0–15 but only 0–9 are valid decimal digits, the six combinations 1010 through 1111 are invalid/unused in BCD.
To find the code for decimal 3, convert 3 to 4-bit binary using the place values 8, 4, 2, 1:
So the BCD code for decimal 3 is 0011, the correct answer. A short reference:
| Decimal | BCD |
|---|---|
| 1 | 0001 |
| 2 | 0010 |
| 3 | 0011 |
| 5 | 0101 |
| 6 | 0110 |
Why the other options are wrong:
Which of the following is/are the popular techniques for error detection?
A code in which each decimal digit is represented by a group of 4 binary bits is
What would be the gray code equal to the number 14?
BCD equivalent of (345)10 is: