1011 is BCD representation of:
| 1011 is BCD representation of:
A. 11
B. 9
C. 10
D. None of these
Please scroll down to see the correct answer and solution guide.
Right Answer is: D
SOLUTION
- A Binary Coded Decimal (BCD) is a type of binary representation for decimal values where each digit is represented by its 4-bit binary equivalent.
- Binary-coded decimals are an easy way to represent decimal values, as each digit is represented by its own 4-bit binary sequence which only has 10 different combinations.
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 |
- A number with '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.