- Foundation
- 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, Why computers use binary: place value and bases; questions 4-6: lesson 2, Converting between binary and decimal; questions 7-9: lesson 3, Octal and hexadecimal; questions 10-12: lesson 4, Binary arithmetic and complements; questions 13-15: lesson 5, Codes: BCD, ASCII, Unicode and bit capacity.
Final self-assessment
-
1. Which of these cannot be a number in base 6?
- 5432
- 1260
- 1005
- 3214
Show answer
Answer: B. Base 6 uses only the digits 0 to 5. 1260 contains the digit 6.
-
2. In the octal number 352, what is the place value of the digit 3?
- 300
- 24
- 192
- 96
Show answer
Answer: C. Octal places are 64, 8 and 1. The 3 is in the 64s place: 3 x 64 = 192.
-
3. In hexadecimal, what is the third place from the right worth?
- 16
- 100
- 48
- 256
Show answer
Answer: D. Each place is 16 times the one to its right: 1, 16, 256.
-
4. Convert binary 1110011 to decimal.
- 115
- 103
- 99
- 117
Show answer
Answer: A. Place values 64, 32, 16, 8, 4, 2, 1 with digits 1, 1, 1, 0, 0, 1, 1: 64 + 32 + 16 + 2 + 1 = 115.
-
5. Convert decimal 58 to binary.
- 101110
- 111010
- 111001
- 110110
Show answer
Answer: B. 58 / 2 = 29 r0, 29 / 2 = 14 r1, 14 / 2 = 7 r0, 7 / 2 = 3 r1, 3 / 2 = 1 r1, 1 / 2 = 0 r1. Upward: 111010. Check: 32 + 16 + 8 + 2 = 58.
-
6. Convert decimal 0.875 to binary.
- 0.101
- 0.110
- 0.111
- 0.011
Show answer
Answer: C. 0.875 x 2 = 1.75 (1); 0.75 x 2 = 1.5 (1); 0.5 x 2 = 1.0 (1). So 0.111. Check: 0.5 + 0.25 + 0.125 = 0.875.
-
7. Convert hexadecimal 7B to octal.
- 123
- 371
- 175
- 173
Show answer
Answer: D. 7 = 0111 and B = 1011, so 1111011. Groups of three from the right: 1, 111, 011 = 1, 7, 3, giving 173. Check: 7B = 112 + 11 = 123 and 173 octal = 64 + 56 + 3 = 123.
-
8. Convert octal 237 to decimal.
- 159
- 237
- 147
- 169
Show answer
Answer: A. 2 x 64 + 3 x 8 + 7 = 128 + 24 + 7 = 159.
-
9. Convert decimal 250 to hexadecimal.
- AF
- FA
- FF
- F10
Show answer
Answer: B. 250 / 16 = 15 remainder 10, so F then A: FA. Check: 15 x 16 + 10 = 250. (AF is 175 and FF is 255.)
-
10. Add binary 10111 and 1101.
- 100010
- 110100
- 100100
- 11100
Show answer
Answer: C. 23 + 13 = 36. In binary: 1+1 = 0 c1; 1+0+1 = 0 c1; 1+1+1 = 1 c1; 0+1+1 = 0 c1; 1+0+1 = 0 c1; final 1: 100100 = 32 + 4 = 36.
-
11. In 5 bits, what is the 2's complement of 01101?
- 10010
- 01110
- 10100
- 10011
Show answer
Answer: D. Flip to 10010, then add 1: 10011. Check: 01101 is 13 and 32 - 13 = 19, which is 10011.
-
12. In a 4-bit system using 2's complement, which pattern represents -5?
- 1011
- 1010
- 0101
- 1101
Show answer
Answer: A. 5 is 0101; flip to 1010 and add 1: 1011. (1010 is only the 1's complement; 1101 is -3.)
-
13. The BCD code 0101 1000 stands for which decimal number?
- 88
- 58
- 85
- 13
Show answer
Answer: B. Read each 4-bit group as one digit: 0101 = 5 and 1000 = 8, so 58. Read as pure binary, 01011000 would be 88.
-
14. In ASCII, capital A is 65 and small a is 97. What is small c?
- 67
- 98
- 99
- 100
Show answer
Answer: C. c is two letters after a: 97 + 2 = 99. (67 is capital C.)
-
15. What is the minimum number of bits needed to give a different code to each of 200 items?
- 7
- 9
- 16
- 8
Show answer
Answer: D. 2^7 = 128 is too few; 2^8 = 256 is enough, so 8 bits.
Sign in to keep track of the lessons you finish.