All Exams Test series for 1 year @ ₹349 only
Question

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.

Was this answer helpful?

Important Questions from Binary Codes

  1. What is maximum number represented by 4 bit BCD code?
  2. Which of the following is an invalid state in 8-4-2-1 Binary Coded Decimal counter

  3. Digital calculators use __________.

  4. The number of bits used to store a BCD digit is

  5. What is the BCD code for decimal digit 3?

Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App