The number of bytes required to represent the decimal number 1856357 in packed BCD (Binary Coded Decimal) form is ________.
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 4-bit 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.
Which of the following is an invalid state in 8-4-2-1 Binary Coded Decimal counter
Digital calculators use __________.
The number of bits used to store a BCD digit is
What is the BCD code for decimal digit 3?