Physics I / Data representation and basic types
Practice question · Estimate

A sensor stores readings as 8-bit unsigned integers. How many distinct values can one reading take? Set the slider to your answer.

Estimate on a scale from 0 to 700.

Hints
  1. Each bit doubles the number of representable patterns.
  2. 282^{8}.
Show the answer

256 (answers within ±7.68 count)

Why

28=2562^{8} = 256 values (0–255). Every representation budget works this way: n bits → 2n2^{n} patterns. It is why 8-bit images have 256 gray levels and why your lab ADC clips at its bit depth.

Read the lesson: Data representation and basic types →

Practise Data representation and basic types

The app has 8 more questions on this lesson, and keeps your place in the course. Physics I is free to start.

More questions on Data representation and basic types