SESK: Stuff Everyone Should Know · sesk.info/tech-n-bits-values
How many different values can 8 bits represent?
256 values, because n bits give 2 to the n patterns.
- 256 ✔
- 255
- 128
Why: Each extra bit doubles the number of patterns, so n bits give 2 to the n values. Eight bits give 256 patterns, which as an unsigned number means 0 to 255. People often pick 255 because they forget zero counts too.
Huh, didn't know that: An unsigned 8-bit integer uses its 256 patterns for the values 0 through 255.
There are 10 types of people in the world: those who understand binary and those who don't.
Like this card?
References
Answer: 256. Each extra bit doubles the number of patterns, so n bits give 2 to the n values. Eight bits give 256 patterns, which as an unsigned number means 0 to 255. People often pick 255 because they forget zero counts too.
- OpenStax Introduction to Computer Science 5.3: Machine-Level Information Representation openstax.org/books/introduction-computer-science/pages/5-3-machine-level-information-representation
In general n bits can present 2 n values, which is the range from 0 to 2 n
Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.