Data representation – IGCSE Computer Science (0478)
21 questions · page 1 of 2 · Clear filters
Question text
1
(a) Tick (✓) one box to show which statement about data storage is correct.
A
One bit equals four nibbles.
B
One byte equals 16 bits.
C
One exbibyte (EiB) equals 1024 × 1024 tebibytes (TiB).
D
One mebibyte (MiB) equals 1024 × 1024 gibibytes (GiB).
[1]
(b) An image file has a resolution of 1024 pixels high × 1024 pixels wide. The colour depth is
two bytes.
Calculate the file size of the image. Give the answer in MiB. Show your working.
working space
…
…
…
…
file size of image … MiB
[2]
Question text
6
(a) Convert the denary number 150 into an 8‑bit binary number.
… [1]
working space
…
…
…
(b) Convert the hexadecimal number F08 into a 12‑bit binary number.
… [1]
working space
…
…
…
(c) Give the 8‑bit binary value after a logical binary shift left of two places is performed on the
binary number 00110101.
… [1]
working space
…
…
…
(d) Convert the two’s complement binary integer 01110101 into denary.
… [1]
working space
…
…
…
© Cambridge University Press & Assessment 2026
ĬÑĊ®Ġ´íÈõÏĪÅĊÝû¸þ×
,
,
(e) Add the two binary integers using binary addition and give your answer in binary. Show all
your working.
0 0 0 1 1 0 1 0
+ 0 1 1 0 1 1 1 0
[3]
© Cambridge University Press & Assessment 2026
ĬÓĊ®Ġ´íÈõÏĪÅĊÝù¸þ×
Question text
1
(a) Complete the sentences about number systems.
Use the items from the list.
Some of the items in the list will not be used. You should only use an item once.
A
B
C
D
E
F
G
H
W
X
Y
Z
0
1
2
4
8
10
16
127
128
255
256
The binary number system is base … . The smallest denary number that can be
represented as an 8-bit binary number is … . The largest denary number that
can be represented as an 8-bit binary number is … .
The hexadecimal number system is base … . Each hexadecimal digit is
equivalent to … bits. The numbers 1 to 9 are used and the number 10 is
represented by … . The hexadecimal number system continues up to the
number 15, which is represented by … .
[7]
(b) Two 8-bit binary numbers are given.
Add the two 8-bit binary numbers using binary addition.
Give your answer in binary. Show all your working.
1 0 0 1 1 0 1 1
+ 0 0 0 1 0 0 1 1
[3]
ĬÕú¾Ġ´íÈõÏĪÅĊàù¸þ×
,
,
(c) Binary addition can result in overflow.
Tick (✓) one box to show the correct definition of overflow in binary addition.
A
The answer has created a negative number that cannot be represented
in binary addition.
B
The answer is the result of a logical shift that cannot be performed in
binary addition.
C
The answer is too large to represent in the number of bits available.
D
The answer is too small to represent in the number of bits available.
[1]
Ĭ×ú¾Ġ´íÈõÏĪÅĊàû¸þ×
Question text
2
An artist creates an image on a computer.
(a) State what is meant by the colour depth of an image.
…
… [1]
(b) Describe the relationship between the resolution of the image and the file size of the image.
…
…
…
… [2]
(c) The artist compresses the image file before uploading it to their website. Users can download
the image file from the website to print as a poster.
The image file is compressed using lossless compression.
(i)
Explain the reasons why the artist chose lossless compression instead of lossy
compression to compress this image file.
…
…
…
…
…
… [3]
(ii)
Identify one lossless method of compressing an image.
Describe your chosen method.
Method …
Description …
…
…
…
…
[3]
ĬÕú¾Ġ´íÈõÏĪÅĊÞù¸Ā×
,
,
(d) The artist emails the image file to their friends.
(i)
Explain how a file is broken down into packets and transmitted over a network.
…
…
…
…
…
Question text
1
Computers represent different types of data in binary.
(a) Tick (✓) one box to show the reason why computers use binary to represent data.
A
Computers only allow 1s and 0s to be entered.
B
Computers are made of switches and gates that can only be on or off.
C
Binary does not need to be converted into other forms of data to be displayed.
D
Both computers and humans can quickly process binary data.
[1]
(b) One form of data is characters.
The American standard code for information interchange (ASCII) denary number for the
character ‘N’ is 78.
(i)
Tick (✓) one box to identify the ASCII denary number for the character ‘Q’.
A
81
B
80
C
79
D
77
[1]
(ii)
Give the binary number for the ASCII denary number for ‘N’.
… [1]
Working space
…
…
…
(iii)
Explain how the word ‘RED’ is represented using a character set.
…
…
…
… [2]
(c) Sound can be represented as binary.
(i)
Explain why recording sound with a higher sampling resolution creates a more accurate
recording.
…
…
…
… [2]
(ii)
Give one other way that the accuracy of a sound recording can be improved.
…
… [1]
Question text
8
(a) Hexadecimal can be used to represent binary numbers.
(i)
Convert the denary number 236 into hexadecimal.
…
… [1]
Working space
…
…
…
(ii)
Give one benefit of using hexadecimal instead of binary to represent data.
…
… [1]
(b) Two’s complement can be used to represent positive and negative binary integers.
(i)
Convert the two’s complement integer 10110111 into denary.
Show all your working.
…
…
…
…
… [2]
(ii)
Convert the denary number 45 into an 8-bit two’s complement integer.
…
… [1]
Working space
…
…
…
(c) Logical shifts are performed on binary integers.
State the mathematical effect of a right shift of four places on a positive binary integer.
…
…
… [2]
Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
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 the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at ww
Question text
3
A new computer comes with primary and secondary storage.
(a) Data storage is measured using binary denominations.
Complete each conversion.
8 bytes = … nibbles
512 kibibytes (KiB) = … mebibytes (MiB)
4 gibibytes (GiB) = … mebibytes (MiB)
1 exbibyte (EiB) = … pebibytes (PiB)
[4]
Working space
…
…
…
…
(b) Random access memory (RAM) is an example of primary storage.
Give three examples of data that is commonly stored in RAM.
1 …
2 …
3 …
[3]
(c) Describe the purpose of secondary storage.
…
…
…
… [2]
Question text
4
A wildlife photographer stores their digital images on a computer.
(a) Complete the table by defining each term about images.
Image term
Definition
…
pixel
…
…
…
resolution
…
…
[2]
(b) One of the images has a resolution of 1000 × 1000 and a colour depth of 2 bytes.
Calculate the file size of the image. Give your answer in bytes.
Show your working.
Working space …
…
…
…
File size … bytes
[2]
(c) The photographer decides to purchase a solid‑state storage device to back up their images.
Complete the description of solid‑state storage.
Use the terms from the list.
Some of the terms in the list will not be used. You should only use a term once.
binary
denary
electrons
grid
neutrons
non‑volatile
RAM
star
transistors
virtual
volatile
Solid‑state storage is … . This means that the data is not
lost when the power is turned off.
Solid‑state storage is made of … that are laid out in a
… .
Gates are used to control the flow of the … through the
transistors. This changes the data in the transistors from 1 to 0, or from 0 to 1.
[4]
(d) The photographer compresses an image file before it is emailed.
Give one reason why a file is compressed.
…
… [1]
Question text
6
A company is involved in robotics.
One of its robots is designed to make a specific movement depending on a binary value.
(a) The table gives some of the movements for the robot.
Complete the table by writing the missing binary, denary or hexadecimal value for each
movement.
Movement
Binary
Denary
Hexadecimal
forward 1 step
00011111
31
back 1 step
140
8C
turn right
01011010
5A
turn left
120
78
[4]
Working space
…
…
…
…
…
…
(b) Describe what is meant by robotics.
…
…
…
… [2]
(c) The robot has a sensor and a microprocessor.
The robot will move forward continuously until it detects an object that is less than or equal to
10 cm in front of it.
If an object is less than or equal to 10 cm in front of it, the robot turns 90 degrees right. It then
tries to move forward again.
Explain how the sensor and the microprocessor are used to automate this robot.
…
…
…
…
…
…
…
…
…
…
…
…
Question text
1
A computer stores data in binary form. Binary numbers can be represented as hexadecimal and
denary numbers.
(a) Convert the 8-bit binary number 01010101 to denary.
… [1]
Working space
…
…
…
(b) Convert the binary number 11000000 to hexadecimal.
… [1]
Working space
…
…
…
(c) Convert the hexadecimal number 1A to denary.
… [1]
Working space
…
…
…
(d) Binary numbers can be stored as bytes.
State how many bits are in two bytes.
… [1]
Question text
1
A hockey club records the number of people that watch each match. An 8-bit binary register is
used to store this value.
(a) 46 people watch the first match and 171 people watch the second match.
Show how the registers would store these denary values as 8-bit binary.
Denary
8-bit binary
value
46
171
[2]
Working space
…
…
…
…
(b) Give the largest denary value that can be stored in the 8-bit binary register.
… [1]
(c) The hockey club wants to increase the number of people that can watch each match to 2000.
The 8-bit binary register may no longer be able to store the value.
Give the smallest number of bits that can be used to store the denary value 2000.
… [1]
Working space
…
…
…
…
(d) Electronic data about the final score for the match is transmitted to a central computer
30 kilometres away, using serial transmission.
(i)
Explain why serial transmission is more appropriate than parallel transmission in this
scenario.
…
…
…
…
…
… [3]
(ii)
The data transmission is also half-duplex.
Describe half-duplex data transmission.
…
…
…
… [2]
(iii)
The data transmission uses checksums.
Describe how checksums are used to detect errors in data transmission.
…
Question text
3
Priya studies music at school. She is buying a new computer to complete her school work at home.
(a) Priya has a choice between an internal Hard Disk Drive (HDD) and an internal Solid State
Drive (SSD) to store data.
(i)
Give one similarity between an HDD and an SSD.
…
… [1]
(ii)
Explain three differences between an HDD and an SSD.
1 …
…
…
2 …
…
…
3 …
…
…
[3]
(b) Priya needs to transfer files between the school and her home computer.
Identify one off-line storage device she could use to transport the files.
… [1]
(c) Priya is using sound editing software to record and edit different music tracks.
(i)
Identify two input devices she would use for this task.
Device 1 …
Device 2 …
[2]
(ii)
Identify two output devices she would use for this task.
Device 1 …
Device 2 …
[2]
(d) Priya shares her sound files with other students. Before sharing the sound files, she
compresses the files using lossless compression.
Describe how lossless compression reduces the size of a sound file.
…
…
…
… [2]
(e) Priya currently uses MIDI files to store her music. Priya’s friends have asked her if they can
have an MP3 version of the file.
(i)
Give two features of a MIDI file.
1 …
Question text
5
Programmers can use denary and hexadecimal values. These values are stored in a computer
system using binary.
(a) Explain why binary is used to store data in a computer system.
…
…
…
… [2]
(b) Complete the table to show how the denary value would be stored as binary in an 8-bit
register.
Denary value
8-bit register
129
56
[2]
Working space
…
…
…
…
…
(c) Complete the table to show how the hexadecimal value 3A9 would be stored as binary in a
12-bit register.
[3]
(d) Identify two uses of hexadecimal values in computer science.
1 …
2 …
[2]
Question text
1
(a) Elle has a file stored on her computer that is 20 MB in size. Jordan has a file that is 10 GB in
size.
Tick (3) to show which is the larger file.
Tick
File size
(3)
20 MB
10 GB
[1]
(b) Bob has a file stored on his computer that is 3500 kB in size. Gerty has a file that is 3 MB in
size.
Tick (3) to show which is the larger file.
Tick
File size
(3)
3500 kB
3 MB
[1]
Question text
3
(a) A long distance running race uses an electronic counter that counts each competitor who
finishes the race.
The count is stored as binary in a 12-bit register.
A denary value of the count is displayed on a screen above the finish line.
(i)
The screen currently displays:
0
0
3
9
State the binary value that is currently stored to display the count shown.
…
… [2]
(ii)
More competitors cross the finish line and the screen now displays:
0
3
5
0
State the binary value that is currently stored to display the count shown.
…
… [2]
(iii)
At the end of the race the binary value stored is:
011011000111
Give the denary value that would be displayed on the screen at the end of the race.
Show your working.
…
…
…
…
Screen display:
[2]
(b) Sensors are used at the finish line to identify the number of competitors who finish the race.
(i)
Identify two different sensors that could be used to identify the number of competitors.
Sensor 1 …
Sensor 2 …
[2]
(ii)
The sensors are used with a microprocessor to count how many competitors finish the
race.
Explain how the sensor and the microprocessor are used.
…
…
…
…
…
…
…
…
…
…
…