Which of the following is not an invalid BCD Code?
Binary Coded Decimal (BCD) code:
Decimal Number 
Binary Number 
Binary Coded Decimal (BCD) 
0 
0000 
0000 
1 
0001 
0001 
2 
0010 
0010 
3 
0011 
0011 
4 
0100 
0100 
5 
0101 
0101 
6 
0110 
0110 
7 
0111 
0111 
8 
1000 
1000 
9 
1001 
1001 
10 
1010 
0001 0000 
11 
1011 
0001 0001 
12 
1100 
0001 0010 
13 
1101 
0001 0011 
14 
1110 
0001 0100 
15 
1111 
0001 0101 
The correct answer is 10000001
Additional Information
Explanation:
The following represents the 4bit 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 
The BCD equivalent of 345 is 0011 0100 0101
The following represents the 4bit 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 
BCD (Binary Coded Decimal):
1) BCD (Binary Coded Decimal) is simply the 4bit binary code representation of a decimal digit.
2) Each decimal digit replaced in the integer and fractional parts by its binary equivalent.
3) BCD Code uses four bits to represent the 10 decimal digits of 0 to 9.
4) BCD code is often called 8421 because the BCD is a weighted code and the weights used in binary coded decimal code are 8, 4, 2, 1.
5) The first 8bit Extended Binary Coded Decimal Interchange Code (EBCDIC) introduced by IBM.
The following represents the 4bit 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 
Important Points
ASCII code:
A BCD decoder will have 10 rows in the truth table.
Explanation:
Notes:
A truth table can be formed for all digits from 0 to 9.
Digit 
D 
C 
B 
A 
a 
b 
c 
d 
c 
f 
g 
Hex equivalent 
0 
0 
0 
0 
0 
1 
1 
1 
1 
1 
1 
0 
7E 
1 
0 
0 
0 
1 
0 
1 
1 
0 
0 
0 
0 
30 
2 
0 
0 
1 
0 
1 
1 
0 
1 
1 
0 
1 
6D 
3 
0 
0 
1 
1 
1 
1 
1 
1 
0 
0 
1 
79 
4 
0 
1 
0 
0 
0 
1 
1 
0 
0 
1 
1 
33 
5 
0 
1 
0 
1 
1 
0 
1 
1 
0 
1 
1 
5B 
6 
0 
1 
1 
0 
1 
0 
1 
1 
1 
1 
1 
5 F 
7 
0 
1 
1 
1 
1 
1 
1 
0 
0 
0 
0 
70 
8 
1 
0 
0 
0 
1 
1 
1 
1 
1 
1 
1 
7F 
9 
1 
0 
0 
1 
1 
1 
1 
1 
0 
1 
1 
7B 
Concept:
The following represents the 4bit 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 
Application:
From the above Table:
4 = 0100
3 = 0011
43 = 0100 0011 in BCD
In BCD coding, every decimal bit is encoded into 4 bits of binary representation.
Also, 1 Byte = 8 bits.
The given decimal number is 1856357, which has a total of 7 digits.
Each digital will have a 4bit binary equivalent.
∴ The total number of bits required to represent will be:
= 4 × 7 = 28 bits
Since 1 Byte = 8 bits, the total number of bytes required will be 4.
This is because a 3 Byte number has only 3 × 8 = 24 bits.
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.
Binarycoded decimals are an easy way to represent decimal values, as each digit is represented by its own 4bit binary sequence which only has 10 different combinations.
The following represents the 4bit 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 
Which of the following is not an invalid BCD Code?
Binary Coded Decimal (BCD) code:
Decimal Number 
Binary Number 
Binary Coded Decimal (BCD) 
0 
0000 
0000 
1 
0001 
0001 
2 
0010 
0010 
3 
0011 
0011 
4 
0100 
0100 
5 
0101 
0101 
6 
0110 
0110 
7 
0111 
0111 
8 
1000 
1000 
9 
1001 
1001 
10 
1010 
0001 0000 
11 
1011 
0001 0001 
12 
1100 
0001 0010 
13 
1101 
0001 0011 
14 
1110 
0001 0100 
15 
1111 
0001 0101 