• Practice
  • 15 practice questions

Final self-assessment: number systems

Test yourself on the whole course: 15 questions with answers explained.

If something looks wrong, please tell us.

Attempt all 15 questions before checking any answer; they are a little harder than the lesson checks. Then revisit the lesson for any question you missed - questions 1-3: lesson 1, Binary and decimal conversion; questions 4-6: lesson 2, Octal and hexadecimal systems; questions 7-9: lesson 3, Binary arithmetic and complements; questions 10-12: lesson 4, Bits, bytes and how many values fit; questions 13-15: lesson 5, Number systems mixed practice.

Final self-assessment

  1. 1. Convert binary 101110110 to decimal.

    1. 366
    2. 374
    3. 382
    4. 375
    Show answer

    Answer: B. Place values 256, 128, 64, 32, 16, 8, 4, 2, 1 with digits 1, 0, 1, 1, 1, 0, 1, 1, 0: 256 + 64 + 32 + 16 + 4 + 2 = 374.

  2. 2. Convert decimal 163 to binary.

    1. 11000101
    2. 10100101
    3. 10100011
    4. 10010011
    Show answer

    Answer: C. 163 / 2 = 81 r1, 81 / 2 = 40 r1, 40 / 2 = 20 r0, 20 / 2 = 10 r0, 10 / 2 = 5 r0, 5 / 2 = 2 r1, 2 / 2 = 1 r0, 1 / 2 = 0 r1. Upward: 10100011. Check: 128 + 32 + 2 + 1 = 163.

  3. 3. Which binary number equals decimal 96?

    1. 1010000
    2. 1100100
    3. 110000
    4. 1100000
    Show answer

    Answer: D. 96 = 64 + 32, so the 64 and 32 places hold 1: 1100000. (110000 is 48.)

  4. 4. Convert hexadecimal 9D to binary.

    1. 1001 1101
    2. 1101 1001
    3. 1001 1011
    4. 1010 1101
    Show answer

    Answer: A. Each hex digit becomes 4 bits: 9 = 1001 and D = 13 = 1101.

  5. 5. Convert decimal 500 to octal.

    1. 467
    2. 764
    3. 754
    4. 744
    Show answer

    Answer: B. 500 / 8 = 62 r4, 62 / 8 = 7 r6, 7 / 8 = 0 r7. Upward: 764. Check: 7 x 64 + 6 x 8 + 4 = 448 + 48 + 4 = 500.

  6. 6. Convert hexadecimal 2AB to decimal.

    1. 673
    2. 693
    3. 683
    4. 427
    Show answer

    Answer: C. 2 x 256 + 10 x 16 + 11 = 512 + 160 + 11 = 683.

  7. 7. In 4 bits, what is the two's complement of 1010?

    1. 0101
    2. 1011
    3. 0111
    4. 0110
    Show answer

    Answer: D. Flip to 0101, then add 1: 0110. Check: 16 - 10 = 6, which is 0110.

  8. 8. Subtract binary 1110 from 11011.

    1. 1101
    2. 1011
    3. 1111
    4. 1001
    Show answer

    Answer: A. 11011 is 27 and 1110 is 14; 27 - 14 = 13, which is 1101.

  9. 9. Work out 1011 + 1011 + 1 in binary.

    1. 10110
    2. 10111
    3. 11011
    4. 10101
    Show answer

    Answer: B. 11 + 11 + 1 = 23 = 16 + 4 + 2 + 1, which is 10111.

  10. 10. A code must give a different pattern to 26 capital letters, 26 small letters and 10 digits. What is the minimum number of bits?

    1. 5
    2. 7
    3. 6
    4. 8
    Show answer

    Answer: C. 26 + 26 + 10 = 62 items. 2^5 = 32 is too few; 2^6 = 64 is enough, so 6 bits.

  11. 11. What is the largest unsigned number that fits in 12 bits?

    1. 4096
    2. 2047
    3. 1023
    4. 4095
    Show answer

    Answer: D. 2^12 = 4096 patterns, from 0 to 4096 - 1 = 4095.

  12. 12. A device stores 4 bits for each of red, green and blue. How many colours can it show?

    1. 4096
    2. 48
    3. 12
    4. 256
    Show answer

    Answer: A. Total bits = 3 x 4 = 12, and 2^12 = 4096 (also 16 x 16 x 16 = 4096).

  13. 13. Convert decimal 222 to hexadecimal.

    1. ED
    2. DE
    3. CE
    4. DD
    Show answer

    Answer: B. 222 / 16 = 13 remainder 14; 13 = D and 14 = E, so DE. Check: 13 x 16 + 14 = 208 + 14 = 222.

  14. 14. Which number is valid in both octal and hexadecimal but NOT in binary?

    1. 1101
    2. 19A
    3. 527
    4. 786
    Show answer

    Answer: C. 527 uses digits 0 to 7 only, so it is valid octal and hex, but binary allows only 0 and 1. 1101 is valid binary too; 19A and 786 are not octal.

  15. 15. Add binary 1111 and 1111.

    1. 11111
    2. 10000
    3. 111110
    4. 11110
    Show answer

    Answer: D. 15 + 15 = 30 = 16 + 8 + 4 + 2, which is 11110.

Privacy · Terms · Refunds · Delivery