Data representation – O Level Computer Science (2210)
Question text
1
Data storage can be measured in different units.
(a) Tick (3) one box to show which is the largest unit of measurement for data storage.
A exbibyte (EiB)
B
gibibyte (GiB)
C
mebibyte (MiB)
D
tebibyte (TiB)
[1]
(b) Calculate how many kibibytes (KiB) are equal to 3072 bytes.
… [1]
working space
…
…
…
(c) Data is converted to binary to be stored by a computer.
Tick (3) one box to show the correct statement about why data is converted to binary for
storing in a computer.
A Binary uses numbers and characters to store all the data.
B
Binary is one type of data that a computer can store.
C
Data is processed by logic gates that can only be set as binary numbers.
D
Only binary numbers can be input into a computer.
[1]
© Cambridge University Press & Assessment 2026
Question text
3
Hexadecimal and binary are two examples of a number system.
(a) Give one other example of a number system.
… [1]
(b) Convert the hexadecimal number 2A to an 8-bit binary number.
… [1]
working space
…
…
…
(c) Convert the hexadecimal number 101 to a 12-bit binary number.
… [1]
working space
…
…
…
(d) Convert the binary number 01110001 to a hexadecimal number.
… [1]
working space
…
…
…
© Cambridge University Press & Assessment 2026
,
,
(e) Convert the binary number 001011011000 to a hexadecimal number.
… [1]
working space
…
…
…
(f)
Add the binary numbers 10011101 and 11110000 using binary addition.
Give your answer in binary. Show all your working.
1 0 0 1 1 1 0 1
+
1 1 1 1 0 0 0 0
[4]
© Cambridge University Press & Assessment 2026
Question text
8
A student opens a document on their computer and inputs text.
(a) Explain how the computer represents the text.
…
…
…
…
…
… [3]
© Cambridge University Press & Assessment 2026
,
,
(b) The student stores a video on their computer.
The video contains sound and images.
(i)
Complete the table with the missing terms and descriptions about sound and images.
term
description
the smallest unit of an image that is made up of
one colour
…
…
sound sample
…
…
the dimensions of an image
…
…
colour depth
…
…
the number of samples that are recorded each second
…
[5]
(ii)
The student wants to compress the video.
Give two methods of compression that the student could use to compress the video.
1 …
2 …
[2]
© Cambridge University Press & Assessment 2026
,
,
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (Cambridge University Press & Assessment) to trace copyright holders, but if any items requiring clearance
have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.
To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in our Copyright
Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download at www.cambridgeinternational.org after the live
examination series.
Cambridge International Education is the name of our awarding body and a part of Cambridge University Press & Assessment, which is a department of the
University of Cambridge.
© Cambridge University Press & Assessment 2026
Question text
1
A smartwatch has a built-in microphone that allows a person to use voice commands to control
the smartwatch.
(a) Tick (3) one box to show whether a microphone is an input, output, process or
storage device.
A input
B
output
C
process
D
storage
[1]
(b) The smartwatch stores data that is displayed for the user.
Identify the smallest unit of data that is stored by the smartwatch.
… [1]
(c) One item of data displayed on the smartwatch is the current outdoor temperature. The
temperature is stored in a register as a two’s complement binary integer.
(i)
Tick (3) one box to show whether two’s complement is a base 2, base 8, base 10 or
base 16 number system.
A
base 2
B
base 8
C
base 10
D
base 16
[1]
(ii)
Give the two’s complement 8-bit binary integer that would be stored for the temperature
of 32 degrees Celsius.
… [1]
© Cambridge University Press & Assessment 2026
,
,
(iii)
Give the two’s complement 8-bit binary integer that would be stored for the temperature
of –14 degrees Celsius.
… [1]
working space
…
…
…
…
(d) Identify one example of a sensor that would be built into the smartwatch.
… [1]
© Cambridge University Press & Assessment 2026
Question text
3
A video streaming service uses hexadecimal to display error codes when problems occur with
their videos.
(a) Tick (3) one box to show which statement is incorrect about why hexadecimal is used to
display the error codes.
A Hexadecimal is easier to debug than binary.
B
Hexadecimal is easier to read than binary.
C
Hexadecimal uses less screen space than binary.
D
Hexadecimal uses less storage space than binary.
[1]
(b) There is a problem with streaming a video and the error codes 152 and 30F are displayed.
Convert the two hexadecimal error codes to binary numbers.
152 …
30F …
[2]
working space
…
…
…
(c) The binary numbers 010001110101 and 101011101000 are stored.
Convert the two binary numbers to the hexadecimal error codes that would be displayed.
010001110101 …
101011101000 …
[2]
working space
…
…
…
© Cambridge University Press & Assessment 2026
,
,
(d) Hexadecimal numbers can also be converted to denary numbers.
Convert the two hexadecimal error codes 0A2 and 104 to denary numbers.
0A2 …
104 …
[2]
working space
…
…
…
(e) The videos are stored on a web server.
The data for the videos is sent from the web server to a user’s computer using
packet switching.
(i)
Each packet of data is divided into three parts. One part is the payload.
Give the names of the two other parts of a packet of data.
1 …
2 …
[2]
(ii)
Explain the role of a router in packet switching.
…
…
Question text
1
A toy store gives each of the toys it sells a unique code. The codes are 3-digit hexadecimal codes,
for example A4B.
A computer is used to store a database of the codes. The computer has 12-bit registers.
(a) Give the largest hexadecimal number that can be stored in a 12-bit register.
… [1]
(b) Give the largest denary number that can be stored in a 12-bit register.
… [1]
(c) Two toys have the hexadecimal codes 429 and 1A3.
Convert the two hexadecimal codes to 12-bit binary numbers.
429 …
1A3 …
[2]
Working space
…
…
…
…
…
(d) Two binary numbers that are stored in the registers are 100010100001 and 011100001011.
Convert the two binary numbers to hexadecimal numbers.
100010100001 …
011100001011 …
[2]
Working space
…
…
…
…
…
ĬÖú¾Ġ´íÈõÏĪÅĊÝù¸þ×
,
,
(e) The hexadecimal code for each toy is stored in a barcode that is displayed on each toy.
Each time a customer buys a toy, the barcode is scanned and the amount of stock stored in
the database for that toy is reduced by 1.
An item of hardware is used in this system to receive the hexadecimal code from the barcode
scanner and find it in the database. The item of hardware is built into a single chip.
(i)
Identify the name of the item of hardware.
… [1]
(ii)
Tick (✓) one box to show whether a barcode scanner is a type of input, output, process
or storage device.
A
input
B
output
C
process
D
storage
[1]
(iii)
The barcode scanner contains a sensor.
Identify the type of sensor that the barcode scanner could contain.
…
Question text
2
Two binary numbers are stored in a computer.
(a) Add the two binary numbers using binary addition.
Give your answer in binary. Show all of your working.
11110101
+
00111001
[4]
(b) A logic right shift of three places is performed on the binary number 11110101.
Give the denary number for the binary number that would be stored after the logical shift of
three places has occurred. Show all of your working.
Working space …
…
…
…
…
Denary number …
[3]
Question text
1
A flower shop has a room that has an air-conditioning system. It is used to keep the room at a
constant temperature for storing flowers.
The owner uses a keypad to set the temperature for the room.
(a) Tick (✓) one box to show whether a keypad is an example of an input, output, process or
storage device.
A
input
B
output
C
process
D
storage
[1]
(b) The owner of the shop enters a denary number to set the temperature for the room.
The denary number is converted to a binary number to be processed. The binary number is
stored in a register in the air conditioning system.
(i)
Give the binary number that would be stored when the denary number 24 is entered.
… [1]
(ii)
Give the binary number that would be stored when the denary number 101 is entered.
… [1]
(iii)
The binary number 00010011 is stored in the register.
Give the denary number that has been entered for this binary number to be stored.
… [1]
(iv)
The binary number 00100010 is stored in the register.
Give the denary number that has been entered for this binary number to be stored.
… [1]
Working space
…
…
…
…
…
…
…
ĬÕú¾Ġ´íÈõÏĪÅĊÝù·þ×
,
,
(c) If the air-conditioning system detects an error, it displays an error code. The error code is
displayed as a hexadecimal number. The binary number for each error code is stored in a
register.
(i)
Give the binary number that is stored in the register to display the error code 51.
… [1]
(ii)
Give the binary number that is stored in the register to display the error code E3.
… [1]
(iii)
Give the hexadecimal number that is displayed when the binary number 10000010 is
stored in the register.
… [1]
(d) If the owner of the shop wants to make the room very cold, she may need to enter a negative
denary number.
The negative denary number could be represented using two’s complement.
Give the two’s complement 8-bit binary integer that would be stored for the temperature –5.
Show all your working.
Working space …
…
Question text
5
Text, images and sound are represented as binary to be processed by a computer.
(a) Complete the table by writing the missing terms and descriptions about representing text,
images and sound as binary.
Term
Description
…
character set
…
…
This is the number of samples taken each second when recording
…
sound.
…
pixel
…
…
…
resolution
…
…
…
This is the number of bits used to represent a colour in an image.
[5]
(b) The size of an image file is 1000 bytes.
Give the size of the image file in bits.
… [1]
ĬÙú¾Ġ´íÈõÏĪÅĊÝû¸þ×
,
,
(c) The size of a sound file is 4096 mebibytes (MiB).
Give the size of the file in gibibytes (GiB).
… [1]
Working space
…
…
…
…
Question text
1
The size of a file can be measured using different data storage units.
(a) Tick (3) one box to show the smallest data storage unit.
A
byte
B
gibibyte (GiB)
C
kibibyte (KiB)
D
nibble
[1]
(b) State how many tebibytes (TiB) are equal to 2 pebibytes (PiB).
… [1]
Working space
…
…
…
(c) The size of a file needs to be reduced.
(i)
Give the name of the process that is used to reduce the size of a file.
… [1]
(ii)
One reason the size of a file may need reducing is so that it has a shorter transmission
time.
Give one other reason why the size of a file may need reducing.
…
… [1]
Question text
2
A clothes store has a ticket system to allow customers to speak to a personal shopper.
The ticket displays a ticket number in hexadecimal, for example 11B.
(a) The ticket system has an output device that creates a paper ticket.
Identify an appropriate output device to produce the paper ticket.
… [1]
ĬÕú¾Ġ´íÈõÏĪÅĊßú·þ×
,
,
(b) Each ticket number is stored as a binary number in the ticket machine.
(i)
Two ticket numbers are 14B and 97A.
Convert the two ticket numbers from hexadecimal to binary.
14B …
97A …
[2]
Working space
…
…
…
…
(ii)
Give two reasons why the ticket number is displayed as hexadecimal instead of binary.
1 …
…
2 …
…
[2]
(c) The ticket numbers could also be represented as denary.
(i)
Convert the two ticket numbers from hexadecimal to denary.
02C …
10B …
[2]
(ii)
Convert the two denary numbers into hexadecimal.
109 …
415 …
[2]
Working space
…
…
…
…
Ĭ×ú¾Ġ´íÈõÏĪÅĊßü·þ×
Question text
3
An image is converted to binary to be represented by a computer.
Complete the table with the missing terms and definition about representing an image.
Term
Definition
…
This is the smallest component of an image.
…
resolution
…
…
This is the number of bits used to create each colour in an
…
image.
This is additional data that is stored with an image that can
…
provide information such as the time and date the image
was taken.
[4]
Question text
1
A computer stores data temporarily in random access memory (RAM).
(a) RAM is one example of primary storage.
Give one other example of primary storage.
… [1]
(b) Give one reason why data is only stored temporarily in the RAM.
…
… [1]
(c) The denary numbers 19 and 230 are converted to binary numbers to be stored in the RAM.
Convert the two denary numbers to binary numbers.
19 …
230 …
[2]
Working space
…
…
…
…
(d) The hexadecimal numbers 35 and 8AD are converted to binary numbers to be stored in the
RAM.
Convert the two hexadecimal numbers to binary numbers.
35 …
8AD …
[2]
Working space
…
…
…
…
ĬÕú¾Ġ´íÈõÏĪÅĊàû¸þ×
,
,
(e) The 8-bit binary numbers 01100101 and 01110000 are stored in RAM.
The binary numbers are added together.
Add the two binary numbers using binary addition.
Give your answer in binary. You must show all your working.
0 1 1 0 0 1 0 1
0 1 1 1 0 0 0 0
+
[3]
(f)
An overflow occurs when two other 8-bit binary numbers are added together.
Explain why the overflow error occurs.
…
…
…
… [2]
(g) The negative denary number –22 is stored in RAM.
Negative denary numbers can be represented as binary using two’s complement.
Give the two’s complement 8-bit binary integer that would be stored for the
denary number –22.
You must show all yo
Question text
2
A student has an image file stored on their computer.
(a) The image file was taken by a digital camera.
Tick (✓) one box to show whether a digital camera is an example of an input, output, process
or storage device.
A
input
B
output
C
process
D
storage
[1]
(b) The size of the image file is 3072 bytes.
(i)
Give the size of the image file in kibibytes (KiB).
… [1]
(ii)
State the number of nibbles in 1 byte.
… [1]
Working space
…
…
…
…
(c) The image file has a colour depth of 32 bits.
(i)
State what is meant by a colour depth of 32 bits.
…
… [1]
(ii)
The colour depth of the image file is changed to 64 bits.
Explain what effect this change has on the image file.
…
…
…
…
[2]
ĬÕú¾Ġ´íÈõÏĪÅĊÞû¸Ā×
,
,
(d) The student uses lossless compression to compress the image file.
Explain how the image file is compressed using lossless compression.
…
…
…
…
…
… [3]
Ĭ×ú¾Ġ´íÈõÏĪÅĊÞù¸Ā×
Question text
2
Data storage can be measured using different units of measurement.
(a) Identify the name of the smallest unit of measurement of data.
… [1]
(b) State how many nibbles there are in 2 bytes.
… [1]
(c) A 10 second sound effect is recorded for a movie.
It is recorded with a sample rate of 22,016 Hz and a sample resolution of 8 bits.
Calculate the file size of the sound effect in kibibytes (KiB). Show all your working.
…
…
…
…
…
…
Answer … KiB
[3]
ĬÕú¾Ġ´íÈõÏĪÅĊÝû·þ×
,
,
(d) The sound effect file is compressed for storage.
(i)
State what is meant by file compression.
…
… [1]
(ii)
Give one benefit of compressing the file for storage.
…
… [1]