Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 514 exam-style questions, each with its mark scheme and example answers. Print it, or answer it on paper and then open the mark schemes. Or browse the questions by topic.

Build a paper

Topics (none ticked: all of them)
Question types (none ticked: all of them)

Practice paper

4 questions · 11 marks

Pick again
Print
1Multiple choice1 markCompression Swap Remove

Identify the definition of lossy compression.

[1 mark]
  • AData is removed only while the file is being transmitted
  • BData is permanently removed to reduce the file size
  • CData is restored exactly when it is decompressed
  • DData is stored using a dictionary of repeated patterns
Mark scheme
  • B Data is permanently removed to reduce the file size (1)
  • The only correct answer is B. The correct answer is data is permanently removed to reduce the file size.
  • A is not correct because the data removed by a lossy algorithm is not restored after transmission
  • C is not correct because that describes lossless compression, where the original file is rebuilt exactly
  • D is not correct because dictionary encoding is a lossless method that records repeated patterns once
Example answers and how they were marked
Full marks1/1

B Data is permanently removed to reduce the file size

Why: Correct option (1).

No marks0/1

C Data is restored exactly when it is decompressed

Why: Near miss: this describes lossless compression, so no mark.

No marks0/1

A Data is removed only while the file is being transmitted

Why: Misconception that compression only applies during transmission; the data is removed permanently, so no mark.

2Short recall2 marksCompression Swap Remove

Files can be compressed before they are stored.

Define the term lossless compression.

[2 marks]
Mark scheme

Award one mark for any of the following up to a maximum of two marks:

  • Reduces/makes the size of a file smaller (1)
  • No data is lost/removed (during compression) (1)
  • The original file/data can be recreated/restored exactly (1)

Allow 'the compressed file takes up less storage space' for the first mark.

The second and third bullets are two ways of making the same point: award a maximum of one mark for them, so a response that says no data is lost and that the original file can be restored, but does not say the file is smaller, scores one mark.

Do not accept descriptions of lossy compression, e.g. 'it removes data that is not needed to make the file smaller'.

Ignore reference to download/transmission times, bandwidth and streaming, as these are benefits of compression and not part of the definition.

Example answers and how they were marked
Full marks2/2

Lossless compression reduces the size of a file without permanently removing any data, so the original file can be restored exactly.

Why: Reduces the size of a file (1) and no data is lost, so the original can be restored exactly (1); maximum of two marks reached.

Some marks1/2

It makes a file smaller so it downloads more quickly.

Why: Reduces the size of a file (1); the faster download is ignored as a benefit, not part of the definition.

No marks0/2

It removes data that is not needed to make the file smaller.

Why: Describes lossy compression, which the do-not-accept line rules out, so the mention of making the file smaller is not credited.

3Explain2 marksCompression Swap Remove

Files can be compressed using lossy or lossless compression.

Explain one difference between lossy compression and lossless compression.

[2 marks]
Mark scheme

Award up to two marks for a linked explanation such as:

  • Lossy compression permanently removes some data (1) whereas lossless compression does not remove any data (1)
  • With lossy compression the original file cannot be recreated exactly (1) but with lossless compression it can (1)
  • Lossy compression can produce a smaller file/a higher compression ratio (1) whereas lossless compression keeps all of the data so compresses less (1)

For both marks, the expansion must follow/associate with the statement.

Allow 'removes data' for 'permanently removes data'.

A correct statement about only one type of compression, with no contrast, earns one mark.

Do not accept a reversed statement such as 'lossless compression loses data and lossy compression does not'.

Do not accept 'lossy makes the file smaller' on its own, because lossless compression also reduces the file size; the answer must say that data is removed.

Do not accept 'lossy is worse quality' on its own without saying data is removed.

Example answers and how they were marked
Full marks2/2

Lossy compression removes some data permanently, but lossless compression keeps all of the data.

Why: Lossy removes data permanently (1) and contrasts with lossless keeping all data (1).

Some marks1/2

Lossy compression removes some of the data.

Why: A correct statement about one type of compression with no contrast earns one mark (1); no contrasting statement about lossless compression is given.

No marks0/2

Lossless compression removes data so the file is smaller, but lossy compression keeps all the data.

Why: Reversed statement: lossless keeps all the data and lossy removes it, so no mark is awarded.

4Discuss6 marksCompression Swap Remove

A company runs a website advertising holiday cottages. Each page shows photographs of a cottage and has a short audio guide that visitors can play. The company uses lossy compression for the photographs and the audio.

Discuss the use of lossy compression on the company's website.

Your answer should include:

  • how lossy compression makes the files smaller
  • the effect this has on the photographs and audio
  • the benefits to the company and its visitors
[6 marks]
Mark scheme

Indicative content

How lossy compression makes the files smaller

  • Some of the data in the file is permanently removed, so the file that is stored is smaller.
  • The data that is removed is the data that a person is least likely to notice, such as sounds outside the range of human hearing or small differences in colour in a photograph.
  • Removing data means a much higher compression ratio is possible than with lossless compression.

The effect on the photographs and audio

  • The original file cannot be reproduced exactly when it is decompressed.
  • Photographs may show artefacts, such as blocks or noise where there are contrasting colours, so they are lower quality.
  • Some of the sound is lost, so parts of the audio guide may be less clear to listen to.
  • If the company later wants to use the photographs at a larger size, it cannot recover the lost detail.

The benefits to the company and its visitors

  • The smaller images load faster, so each page of the website appears more quickly for a visitor.
  • The audio can be streamed, so a visitor can play the guide without waiting for the whole file to download.
  • Less bandwidth is used by the web server, so it can cope with more visitors at the same time.
  • Less storage space is needed on the server for the photographs and audio files.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Level 3 responses must cover both the effect on the files and the benefits.

Do not accept the idea that lossy compression keeps all of the original data.

Example answers and how they were marked
Full marks6/6

Lossy compression permanently removes some of the data, for example the parts of the sound that the human ear cannot hear, or small differences in colour in a photograph, so the file that is stored is much smaller than it would be with lossless compression. This means the original cannot be recreated exactly: parts of a photograph with contrasting colours may show blocks or noise, and parts of the audio guide may be less clear. However, the smaller images mean each page loads faster for a visitor, and the audio can be streamed so a visitor can play the guide without waiting for the whole file. Less bandwidth is used too, so the server can cope with more visitors at once.

Why: Explains how data is removed and its effect on the photographs and audio, then links the benefits to visitors and to the server, so Level 3.

Some marks3/6

Lossy compression makes the files smaller by removing some of the data. This means the photographs might not look as good as the original. The website pages will load faster for visitors because the files are smaller.

Why: Correct basic points about the method, the effect and a benefit (AO1/AO2), but the points are not developed and the audio is not considered, so Level 2.

Some marks1/6

Lossy compression does not lose any data, so the photographs can be decompressed back to the original picture. The web pages will load faster because the photographs are smaller.

Why: One basic point about faster loading; the description of lossy compression is the wrong way round because data is permanently removed, so Level 1.

Questions by topic

More ways to revise Edexcel GCSE Computer Science (1CP2)

Teachers: build a paper, print it with the mark schemes at the end, and sign your school up to set your classes activities on every topic.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.