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

10 questions · 30 marks

Pick again
Print
1Multiple choice1 markUnits & Conversion Swap Remove

A computer stores data in binary.

Identify the number of bits in one kibibyte.

[1 mark]
  • A1024
  • B8000
  • C8192
  • D8 388 608
Mark scheme
  • C 8192 (1)
  • The only correct answer is C. The correct answer is 8192.
  • A is not correct because 1024 is the number of bytes in a kibibyte
  • B is not correct because 8000 is the number of bits in 1000 bytes
  • D is not correct because 8 388 608 is the number of bits in a mebibyte
Example answers and how they were marked
Full marks1/1

C 8192

Why: Correct: one kibibyte is 1024 bytes and 1024 × 8 = 8192 bits (1).

No marks0/1

A 1024

Why: Near miss: 1024 is the number of bytes in a kibibyte, not the number of bits (0).

No marks0/1

B 8000

Why: Typical misconception: uses 1000 bytes for a kibibyte, giving 1000 × 8 = 8000 bits (0).

2Short recall1 markCompression Swap Remove

A company backs up its files to an external hard drive.

Give one reason why the company compresses the files before backing them up.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • More files/data can be stored (in the same storage space) (1)
  • The files take up less storage space (1)
  • The backup is quicker/faster to complete (1)
  • Less data needs to be transferred to the backup device (1)

Do not accept 'makes the files more secure' or 'encrypts the files'.

Example answers and how they were marked
Full marks1/1

The compressed files take up less storage space, so more files can be backed up.

Why: The files take up less storage space (1).

No marks0/1

It reduces the amount of disk fragmentation.

Why: Near-miss: compression does not reduce disk fragmentation.

No marks0/1

It encrypts the files so they are safer if the drive is stolen.

Why: Misconception: compression does not encrypt files, and security is not accepted.

3Short 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.

4Short recall2 marksCompression Swap Remove

Images and sound can be stored using lossy compression.

Define the term lossy compression.

[2 marks]
Mark scheme

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

  • Reduces the size of a file (1)
  • Permanently removes/loses some data (1)
  • The original file cannot be recreated/restored exactly (1)

Allow 'some data is deleted/discarded and cannot be recovered' for the second mark.

Do not award the first mark where the response also states that no data is lost.

Do not accept 'removes repeated data' (this describes lossless compression).

Example answers and how they were marked
Full marks2/2

Lossy compression reduces the size of a file by permanently removing some data, so the original cannot be restored exactly.

Why: Reduces the size of a file (1); permanently removes some data (1); maximum two marks awarded.

Some marks1/2

It makes a file smaller.

Why: Reduces the size of a file (1); no reference to data being permanently lost.

No marks0/2

It makes a file smaller without losing any of the data.

Why: States that no data is lost, which describes lossless compression; the first mark is not awarded.

5Short recall2 marksUnits & Conversion Swap Remove

Data storage is measured in binary multiples.

Define the term bit.

[2 marks]
Mark scheme

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

  • A binary digit (1)
  • Has the value 0 or 1 (1)
  • The smallest unit of data storage (1)
  • A single 0 or 1 (1)

Allow binary digit/binary place value for binary digit

Allow a single binary digit for a single 0 or 1

Do not accept a group of 8 bits/half a nibble of 4 bits, which describe a byte or a nibble

Do not accept a binary number/binary on its own

Example answers and how they were marked
Full marks2/2

A binary digit that can have the value 0 or 1.

Why: A binary digit (1) and has the value 0 or 1 (1).

Some marks1/2

It is the smallest unit of data storage.

Why: Smallest unit of data storage (1), but does not state that it is a binary digit or that it has the value 0 or 1.

No marks0/2

A group of 8 bits.

Why: Describes a byte, not a bit; no creditworthy point and named in the Do not accept line.

6Explain2 marksCompression Swap Remove

A solicitor sends large documents to clients by email.

Explain one reason why the solicitor compresses the documents before sending them.

[2 marks]
Mark scheme

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

  • The file size is reduced (1) so the documents take less time to transmit/send (1)
  • The compressed files are smaller (1) so they are more likely to be within the email attachment size limit (1)
  • Less data is sent (1) so less bandwidth/data allowance is used (1)
  • Fewer packets are needed (1) so the documents are received more quickly (1)

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

Do not accept 'it saves storage space' on its own without linking to sending the documents.

Do not accept 'it makes the file smaller' as both the point and the reason.

Example answers and how they were marked
Full marks2/2

The documents take up less space so they are quicker to send by email.

Why: File size reduced (1) and linked reason that transmission is quicker (1).

Some marks1/2

It makes the documents smaller.

Why: File size reduced (1) but no linked reason about sending or transmission.

No marks0/2

It reduces the amount of storage space the documents use on the client's computer.

Why: Storage space alone is not a reason for compressing before sending, so no linked explanation point is credited.

7Explain2 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.

8Discuss6 marksCompression Swap Remove

A secondary school records video of its lessons and keeps the files on its network. Students download the videos at home to watch them again. The school also backs up all of its files to a cloud service.

Discuss the need for data compression for the school's files.

Your answer should consider:

  • secondary storage
  • sending data over a network
  • the drawbacks of compressing the files
[6 marks]
Mark scheme

Indicative content

Secondary storage

  • Compressed lesson videos take up less space on the school's file server, so more recordings can be stored.
  • The cloud backup service has a fixed amount of storage, so compressing the files means more of them can be backed up within it.
  • Video files are very large, so without compression a much bigger hard disk would be needed to keep them all.

Sending data over a network

  • A compressed video is split into fewer packets, so it takes less time for a student to download it at home.
  • Less data is transferred, so the school's internet connection is not used up as quickly and other users are not slowed down.
  • A smaller file can be sent as an email attachment, where there is a limit on the size of an attachment.
  • Compressed video can be streamed, because the data can be sent as fast as it is played, which reduces buffering.

Drawbacks of compressing the files

  • The file has to be compressed before it is stored and decompressed before it is played, which takes time and processing power.
  • Lossy compression permanently removes data, so the quality of the lesson recording is reduced and it cannot be restored exactly.
  • Lossless compression keeps all of the data, but it does not make the files as small as lossy compression does.

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 secondary storage and sending data over a network.

Do not accept the idea that compression makes the files more secure.

Example answers and how they were marked
Full marks6/6

Each lesson video is a large file, so compressing it means it takes up less space on the school's file server and more recordings can be kept. The cloud backup has a fixed amount of space, so compressing the files lets more of them be backed up inside it. When a student downloads a video at home, the smaller file is split into fewer packets, so it arrives in less time and the student can start watching sooner. Less data also has to travel over the school's internet connection, so other users are not slowed down. The drawback is that the video has to be compressed when it is saved and decompressed when it is played, which takes time and processing power, and using lossy compression would reduce the quality of a lesson recording.

Why: Covers storage and transmission in the context of the school and its students, links each point to a consequence (more videos kept, fewer packets, other users not slowed), and adds developed drawbacks, so Level 3.

Some marks3/6

The lesson videos are big files. If they are compressed they take up less space on the school's server, so more videos can be stored. A smaller video will download quicker for a student at home, and it uses less of the school's internet connection.

Why: Accurate points on storage and transmission applied to the school (AO1/AO2), but each is stated once with no development, and no drawbacks are considered, so Level 2.

Some marks1/6

Compression makes the video files smaller so the school's server does not fill up. Lossless compression deletes some of the data so the file cannot be restored exactly.

Why: One basic creditworthy point about storage space (AO1); the statement about lossless compression deleting data is incorrect and gains nothing, so Level 1.

9Discuss6 marksCompression Swap Remove

A software company stores the source code of its programs and large text documents on its file server. The company decides to use lossless compression on these files.

Discuss the use of lossless compression for the company's files.

Your answer should include:

  • why lossless compression is suitable for these files
  • how lossless compression makes a file smaller
  • the benefits to the company
[6 marks]
Mark scheme

Indicative content

Why lossless compression is suitable

  • No data is removed, so the original file can be restored exactly when it is decompressed.
  • Source code must be reproduced exactly, because a single missing or changed character would stop the program working when it is run.
  • A text document must keep every character, so that the meaning of the document is not changed.

How lossless compression makes a file smaller

  • Run length encoding stores a repeated value once, together with a count of how many times it appears, so long runs of the same character are held in less space.
  • Dictionary encoding finds patterns or words that are repeated in the text, stores each one once in a dictionary and replaces every occurrence with a short code.
  • The more repetition there is in a file, the greater the reduction in size that can be achieved.

Benefits to the company

  • The compressed files take up less space on the file server, so more programs and documents can be stored.
  • There is less data to transfer, so backing the files up to another location finishes sooner.
  • The company does not need to keep a separate uncompressed copy as well, because the compressed file can be restored exactly, which saves more storage space.
  • The files must be decompressed before they are used, which takes time each time a file is opened.

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 why lossless compression is suitable and how it makes a file smaller.

Do not accept the idea that lossless compression removes data that is not needed.

Example answers and how they were marked
Full marks6/6

Lossless compression is suitable because no data is removed, so the source code can be restored exactly. If even one character were lost or changed the program would not run correctly, and a text document would no longer mean the same thing. Run length encoding can store a run of the same character once with a count of how many times it appears, and dictionary encoding stores each repeated word once in a dictionary and replaces every occurrence with a short code, so a document with lots of repetition becomes much smaller. The compressed files take up less room on the file server, so more programs and documents can be stored, and there is less data to send when the company backs the files up, so the backup finishes sooner.

Why: Explains suitability with a consequence for source code, describes two lossless methods, and applies the benefits to the company's server and backups, so Level 3.

Some marks3/6

Lossless compression does not lose any data, so the file can be decompressed back to the original. This is good for source code because the code will still work. It also saves space on the file server.

Why: Correct definition applied to the code plus one benefit (AO1/AO2), but the method of compression is not described and the benefits are not developed, so Level 2.

Some marks1/6

Lossless compression removes the parts of the file that are not needed so it becomes smaller. The company should use it because the files will be smaller on the server.

Why: One basic point about the files being smaller; the explanation of lossless compression is wrong because data is not removed, so Level 1.

10Discuss6 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.