?
One byte can be used to encode any integer between '0' and inclusive
Answer & Solution
Correct Answer:
Option
D
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.
1 byte = 8 bits, 28 = 256 ranging from 0 - 255.
Join the Discussion
Login to post a comment or share your explanation.
Login