How many bytes are required to encode n bits of data where n equals

a) 7?

b) 17?

c) 1001?

d) 28,800?

Step 1:

We have to find the how many bytes of data required to n bits of data

where n is equal to.

(a) 7?

Ans :

Each byte is equal to 8 bits and less than 8 bits will also require one byte.

so we must have byte required to encode the 7 bits of data.

Step 2 :

(b) 17?

Ans :

17 is divided by 8 the number of bits in a bytes

so

.’. 3 bytes are required to encode the 17 bits of data.