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 | |
|---|---|---|
| 1-128 64 32 16 8 4 2 1 | A01000001 = 0 + 64 + 1 = 65 | |
| 210000000 | B11000001 = -128 + 64 + 1 = -63 | |
| 3When the leftmost bit is 1, add -128, then add the usual values of any other bits that are 1 | CThe leftmost bit was treated as +128. In two's complement it is worth -128, so the answer is -128 + 1 = -127. | |
| 4When the leftmost bit is 0, it adds nothing, so the number is positive and is read like normal binary | DThe 64 was added even though its bit is 0. Only bits that are 1 add their value, so 10000000 = -128. | |
| 510000001 = 128 + 1 = 129 | EThe place values of an 8-bit two's complement number, where the leftmost bit is worth -128 | |
| 610000000 = -128 + 64 = -64 | F-128, the smallest 8-bit two's complement number, because only the -128 bit is 1 |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
-128 64 32 16 8 4 2 1 — The 8-bit two's complement place values. The leftmost bit (the sign bit) is worth -128 when it is 1, and the other seven bits keep their usual values, so 10000000 = -128.Place values: -128 64 32 16 8 4 2 110000000 = -12810000001 = -128 + 1 = -12711111111 = -128 + 127 = -101000000 = 0 + 64 = 64