Examveda
Examveda

One byte can be used to encode any integer between '0' and inclusive

A. 16

B. 256

C. 128

D. 255

E. None of the above

Answer: Option D

Solution(By Examveda Team)

We can count the number of zeros and ones to see how many bits are used to represent 255 in binary i.e. 11111111. Therefore, we have used 8 bits to represent 255 in binary.
1 byte = 8 bits, 28 = 256 ranging from 0 - 255.

Join The Discussion

Comments ( 1 )

  1. Aashif Ahmad
    Aashif Ahmad :
    3 years ago

    Give me answer as details

Related Questions on Computer Fundamental Miscellaneous