Which of the following binary numbers represents an invalid BCD code?
0101
1001
0111
1011
[ Option D ]
BCD (Binary-Coded Decimal) represents decimal digits 0 to 9 using 4-bit binary codes.
Decimal | BCD Code |
---|---|
0 | 0000 |
1 | 0001 |
2 | 0010 |
3 | 0011 |
4 | 0100 |
5 | 0101 |
6 | 0110 |
7 | 0111 |
8 | 1000 |
9 | 1001 |
🔶 BCD valid range: 0000
to 1001
🔶 1011 = 11 (which is not a valid decimal digit in BCD)
Which of the following is equivalent to decimal 255 in hexadecimal?
EE
FF
F0
FE
[ Option B ]
How many bits are needed to represent decimal number 999 in BCD?
8
12
16
32
[ Option B ]
Which of the following is a valid BCD representation of the decimal number 79?
100 1111
1111 0000
1000 1001
0111 1001
[ Option D ]
What is the 2’s complement of the binary number 01010101?
10101011
10101010
10101001
10101100
[ Option A ]
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.