IGCSE Computer Science - Number Systems Test
1. What is the base of the binary number system?
A. 2 B. 8 C. 10 D. 16
2. What digits are used in the binary system?
A. 0-7 B. 0-9 C. 0-1 D. A-F
3. What is the binary sum of `1011` and `1101`?
A. 10000 B. 11000 C. 10110 D. 11010
4. What is the result of adding `1111` and `0001` in binary?
A. 1110 B. 10000 C. 0001 D. 1111
5. Which of the following is NOT a valid hexadecimal digit?
A. D B. G C. A D. F
6. How many bits are needed to represent a hexadecimal digit in binary?
A. 2 B. 3 C. 4 D. 8
7. What is the hexadecimal representation of binary `10101111`?
A. AF B. FE C. AB D. FA
8. What is the decimal equivalent of binary `1101`?
A. 11 B. 12 C. 13 D. 14
9. Why is hexadecimal used in computer science?
A. It's easier to multiply. B. It reduces error-checking. C. It simplifies binary representation. D.
It uses more symbols than binary.
10. What is the hexadecimal equivalent of decimal 255?
A. 1F B. FF C. AF D. F0
11. In which of the following is hexadecimal used?
A. Image resolution B. MAC addresses C. Sound encoding D. Network bandwidth
12. Which of the following represents RED in HTML color codes?
A. #00FF00 B. #0000FF C. #FFFF00 D. #FF0000
13. What is the result of binary addition `1001 + 0110`?
A. 1111 B. 1000 C. 1100 D. 1011
14. What is the hexadecimal equivalent of binary `1110`?
A. D B. E C. F D. C
15. How is binary addition similar to decimal addition?
A. No carryover is involved B. Uses letters for digits C. Involves carryovers when total > 1 D.
Only adds up to 2
16. Which of the following is a use of hexadecimal in programming?
A. File compression B. Instruction timing C. Debugging memory dumps D. Keyboard shortcuts
17. Convert binary `10000001` to hexadecimal.
A. 82 B. 81 C. A1 D. 91
18. Which of the following is NOT a reason for using hexadecimal?
A. Easy conversion from decimal B. Compact representation C. Used in color coding D.
Easier to read than binary
19. What is the binary equivalent of hexadecimal `7A`?
A. 11101001 B. 01111010 C. 01010101 D. 01111111
20. When adding `111 + 101`, the result is:
A. 1000 B. 1100 C. 1101 D. 1110
Theory Questions
1. Explain why computers use the binary number system instead of the decimal system.
(Your answer should refer to digital electronics and hardware logic.)
2. Describe three different uses of the hexadecimal number system in computing. Give specific
examples.
3. Perform the following binary additions. Show all steps:
a) 1001 + 0110
b) 1111 + 0001
c) 101010 + 110011
4. Convert the following values between number systems:
a) Hexadecimal 3F to binary and decimal
b) Binary 11010110 to hexadecimal
c) Decimal 174 to binary