IGCSE · Computer Science 0478 · Topic

Data Representation: IGCSE Computer Science questions and answers

9 free IGCSE Computer Science Data Representation questions written in the style of Cambridge Computer Science papers, each with its answer and mark scheme.

This topic covers Number systems, Text, sound & images, Data storage & compression. Work through the questions below, then generate a full Data Representation paper with a fresh set every time.

Generate a full Data Representation paper →

Data representation sub-topics

Data representation practice questions

Question 1Structured · 3 marks

A sound is recorded for 60 seconds at a sample rate of 8000 Hz and a sample resolution of 8 bits.
Calculate the file size in mebibytes (MiB). Show your working.

[3]
Show answers and mark scheme
PartAnswer and marking pointsMarks
0.458 MiB
8000 × 8 × 60 M1
÷ 8 ÷ 1024 ÷ 1024 M1
0.458 A1
3
Question 2Structured · 4 marks
(a)

Add the 8-bit binary integers 10000100 and 10000111. Give your answer in 8-bit binary.

[2]
(b)

An error occurs in part (a). Identify and describe the error.

[2]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)00001011
Working with correct carries M1
00001011 A1
2
(b)Overflow error: the result needs more than 8 bits, so the ninth bit is lost
Overflow (error) B1
Result > 255 / needs a ninth bit that cannot be stored B1
2
Question 3Structured · 4 marks
(a)

Convert the denary number 112 into 8-bit binary.

[1]
(b)

Convert the binary number 10101000 into hexadecimal.

[1]
(c)

Convert the hexadecimal number AF into denary.

[1]
(d)

Give the 8-bit two’s complement representation of −5.

[1]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)01110000
01110000 B1
1
(b)A8
A8 B1
1
(c)175
175 B1
1
(d)11111011
11111011 B1
1
Question 4Structured · 2 marks
(a)

The binary number 00111000 has a logical shift 1 place to the left. Give the result.

[1]
(b)

State the effect of this shift on the denary value.

[1]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)01110000
01110000 B1
1
(b)multiplied by 2
× 2 B1
1
Question 5Structured · 2 marks
(a)

State what is meant by the term lossless compression.

[1]
(b)

State what is meant by the term lossy compression.

[1]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)Compression that reduces file size without permanently losing data
Compression that reduces file size without permanently losing data B1
1
(b)Compression that permanently removes some data
Compression that permanently removes some data B1
1
Question 6Structured · 2 marks
(a)

State what is meant by the term overflow error.

[1]
(b)

State what is meant by the term hexadecimal.

[1]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)An error when a result needs more bits than are available
An error when a result needs more bits than are available B1
1
(b)A base-16 number system using the digits 0–9 and letters A–F
A base-16 number system using the digits 0–9 and letters A–F B1
1
Question 7Structured · 3 marks
(a)

State what is meant by the term character set.

[2]
(b)

State what is meant by the term sample resolution.

[1]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)A list of characters recognised by a computer, each with a unique binary code
A list of characters recognised by a computer, each with a unique binary code B2
2
(b)The number of bits used to store each sound sample
The number of bits used to store each sound sample B1
1
Question 8Structured · 3 marks

An image is 640 pixels wide and 256 pixels high, with a colour depth of 8 bits.
Calculate the file size in kibibytes (KiB). Show your working.

[3]
Show answers and mark scheme
PartAnswer and marking pointsMarks
160 KiB
640 × 256 × 8 M1
÷ 8 ÷ 1024 M1
160 A1
3
Question 9Structured · 4 marks
(a)

Add the 8-bit binary integers 10100010 and 00111111. Give your answer in 8-bit binary.

[2]
(b)

Describe what would happen if the result of an 8-bit addition were greater than 255.

[2]
Show answers and mark scheme
PartAnswer and marking pointsMarks
(a)11100001
Working with correct carries M1
11100001 A1
2
(b)Overflow error: the result needs more than 8 bits, so the ninth bit is lost
Overflow (error) B1
Result > 255 / needs a ninth bit that cannot be stored B1
2

Other IGCSE Computer Science topics

Frequently asked questions

What is in IGCSE Computer Science Data Representation?

In the 0478 syllabus, Data Representation covers Number systems, Text, sound & images, Data storage & compression.

Where can I get Data Representation questions with mark schemes?

This page has 9 Data Representation questions with answers. For more, the free generator on mentorriyaz.in builds a new Data Representation paper with a full mark scheme each time you click.

Want a mentor, not just a paper?

Riyaz Shaikh has mentored IGCSE, IB and A Level students for 15+ years, one-on-one, online and in Mumbai. The hardest questions on this site are the ones he uses to find a student's weak points.

Meet Riyaz →

Original Cambridge-style practice questions written for mentorriyaz.in. These are not Cambridge past paper questions, and this site is not affiliated with or endorsed by Cambridge University Press & Assessment. Updated 2026-11-04. Paper generator · mentorriyaz.in