IGCSE Computer Science Worksheet
Topic: Data Representation
Total Marks: 50
1. Binary Representation (10 Marks)
(a) Convert the following decimal numbers into 8-bit binary:
i. 25
ii. 74
(4 Marks)
(b) Convert the following binary numbers to decimal:
i. 110101
ii. 10011011
(4 Marks)
(c) What is the largest decimal number that can be represented using 8 bits?
(2 Marks)
2. Hexadecimal Representation (10 Marks)
(a) Convert the following hexadecimal numbers to binary:
i. A3
ii. 7F
(4 Marks)
(b) Convert the following binary numbers to hexadecimal:
i. 11010101
ii. 11100111
(4 Marks)
(c) Why is hexadecimal used in computing instead of binary?
(2 Marks)
3. Characters and ASCII (10 Marks)
(a) What is ASCII, and how is it used in computer systems?
(3 Marks)
(b) The ASCII value for the letter A is 65. Write the binary representation for the ASCII value of A.
(2 Marks)
(c) Using the ASCII table, determine the characters represented by the following binary values:
i. 01001000
ii. 01100101
(4 Marks)
(d) How many characters can the extended ASCII set represent?
(1 Mark)
4. Binary Arithmetic (10 Marks)
(a) Perform the following binary additions:
i. 101101 + 1101
ii. 110011 + 1011
(4 Marks)
(b) Explain what happens when an overflow error occurs in binary addition. Provide an example.
(3 Marks)
(c) Subtract 1010 from 1101 using binary subtraction.
(3 Marks)
5. Data Storage Units and Sizes (10 Marks)
(a) Arrange the following units in order of size, starting from the smallest:
Byte, Terabyte, Kilobyte, Gigabyte, Megabyte
(3 Marks)
(b) Convert the following:
i. 5 Kilobytes to Bytes
ii. 2 Megabytes to Kilobytes
(4 Marks)
(c) A file is 2 GB in size. How many bytes is this? Show your working.
(3 Marks)
End of Worksheet