Q526
One byte can be used to encode any integer between '0' and inclusive
A.
16
B.
256
C.
128
D.
255
AnswerE.
None of the above
Answer: Option D
Solution
Answer: Option D
Solution:
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.