Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 12^n - 1 | AThe biggest 8-bit number, which is 255 in decimal | |
| 21111 1111 | B2^8 is the number of values, not the biggest number. The largest is 2^8 - 1 = 255. | |
| 34 bits can show 16 different values, but the largest number is 15 | CThe largest whole number that n bits can hold | |
| 4The largest number is one less than the number of values because counting starts at 0 | DCounting starts at 0, not 1. 4 bits hold 0 to 15. | |
| 5Largest 8-bit number = 2^8 = 256 | E2^4 - 1 = 15 | |
| 64 bits hold the numbers 1 to 16 | Fvalues = 2^n, largest = values - 1 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
2^n - 1 — The biggest whole number n bits can hold. Counting starts at 0, so n bits give 2^n values and the largest is one less. Example: 4 bits hold 0 to 15 and 8 bits hold 0 to 255.Largest value with n bits = 2^n - 14 bits: 0 to 2^4 - 1 = 158 bits: 0 to 2^8 - 1 = 2553 bits hold 2^3 = 8 values, so max is 7The largest 4-bit pattern is 1111