Digital Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 98)
98.
How many BCD code bits and how many straight binary bits would be required to represent the decimal number 643?
Discussion:
3 comments Page 1 of 1.
Jayashri said:
3 years ago
Thank you so much @Seetha Marni.
Dinesh said:
7 years ago
Super explanation, Thanks @Seetha Marni.
Seetha Marni said:
1 decade ago
Value of 6 in bcd is 0110.
Value of 4 in bcd is 0100.
Value of 3 in bcd is 0011.
So 643 requires 011001000011 a total of 12 bcd code bits.
Now for decimal to binary conversion.
2| 643
2| 321---1.
2| 160---1.
2| 80----0.
2| 40----0.
2| 20----0.
2| 10----0.
2| 5-----0.
2| 2-----1.
2| 1-----0.
So counting from down to up 1010000011 total 10 straight binary bits are required.
Value of 4 in bcd is 0100.
Value of 3 in bcd is 0011.
So 643 requires 011001000011 a total of 12 bcd code bits.
Now for decimal to binary conversion.
2| 643
2| 321---1.
2| 160---1.
2| 80----0.
2| 40----0.
2| 20----0.
2| 10----0.
2| 5-----0.
2| 2-----1.
2| 1-----0.
So counting from down to up 1010000011 total 10 straight binary bits are required.
(4)
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers