StudyFox

Big Idea 2: Data

Open in StudyFox Free, no ads. Practice, track progress and quiz yourself in the app.

AP Computer Science Principles · Lesson 3 of 6 · 7 min read

Bits

How many bits are needed to give each of 200 students a unique ID? $2^7 = 128$ is too few, and $2^8 = 256$ is enough, so 8 bits.

Check your understanding

What is the binary number 1101 in decimal?

  1. 11
  2. 12
  3. 13
  4. 14
Show answer

Answer: C. 8 + 4 + 0 + 1 = 13.