Question bank › GCSE Computer Science › Memory and storage

Compression: lossy and lossless

Answer on paper first, then reveal the mark scheme one mark at a time.

1Grade 1–33 marks

A student attaches a 30 MB video to an email, but the email service rejects attachments larger than 25 MB. The student compresses the video before sending it.

(a) State what is meant by compression. [1]

(b) Give two other reasons why files are commonly compressed. [2]

2Grade 1–34 marks

Compression can be lossy or lossless.

For each file below, state which type of compression would be most suitable.

FileType of compression
(a) A holiday photo being uploaded to a social media site
(b) The source code of a program being sent to another developer
(c) A hospital X-ray scan stored in a patient's records
(d) A music track being streamed to a mobile phone

[4]

3Grade 4–55 marks

A 4.8 MB photograph is compressed using lossy compression. The compressed file is 1.2 MB.

(a) Calculate the percentage by which the file size has been reduced. Show your working. [2]

(b) Explain why lossy compression is appropriate for this photograph. [2]

(c) State one disadvantage of using lossy compression on the photograph. [1]

Stuck on Compression: lossy and lossless?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4Grade 4–53 marks

A software company distributes its program as a compressed download.

(a) Explain why lossless compression must be used for the program file. [2]

(b) State one disadvantage of lossless compression compared with lossy compression. [1]

5Grade 4–55 marks

The bar chart shows the file size of the same photograph saved in four different ways.

  • A – original uncompressed file
  • B – lossless compression
  • C – lossy compression, high-quality setting
  • D – lossy compression, low-quality setting

(a) Using the chart, calculate the percentage reduction in file size from A to D. [2]

(b) Describe one difference the user would notice between image B and image D when viewed on screen. [1]

(c) Explain why file B is larger than file C even though both are compressed. [2]

Bar chart: file size in MB for four versions of the same photo 0246 File size (MB) 6.03.61.50.3 ABCD originallosslesslossy (high)lossy (low)
6Grade 6–76 marks

A video-streaming company stores thousands of films and streams them to customers over the Internet.

Discuss whether the company should use lossy or lossless compression for the films it streams. In your answer you should consider the advantages and disadvantages of each type of compression. [6]

7Grade 6–75 marks

A 60 MB file is to be downloaded over a connection with a speed of 8 Mbps (megabits per second).

(a) Calculate the time taken to download the uncompressed file. Show your working. [2]

(b) Before it is downloaded, the file is compressed so that its size is reduced by 70%. Calculate the time saved by downloading the compressed file instead. [2]

(c) State one reason why the actual time saved by using compression may be less than your answer to (b). [1]

8Grade 4–53 marks

A student says:

“I compressed my photo with lossy compression to make it smaller. When I decompress it, I will get my original photo back.”

(a) Explain why the student is wrong. [2]

(b) State which type of compression would allow the original file to be restored exactly. [1]

9Grade 6–75 marks

A company backs up its 2 TB file server every night to an external drive. Lossless compression reduces the backup to 60% of its original size.

(a) Calculate the size of the compressed backup in gigabytes. [2]

(b) Explain why lossy compression would not be suitable for the backup. [2]

(c) The backup takes longer to create when compression is used. Give one reason for this. [1]

10Grade 4–54 marks

A music app streams songs to users' phones over mobile networks. The songs are stored using lossy compression.

(a) Explain one reason why the music is compressed before streaming. [2]

(b) Describe the effect that lossy compression has on the sound file. [2]

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session