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

8 questions · 17 marks

Pick again
Print
1Multiple choice1 markCompression Swap Remove

Identify one reason for using data compression.

[1 mark]
  • ATo increase the number of packets sent
  • BTo reduce the time taken to transmit a file
  • CTo improve the quality of the file
  • DTo make the file harder to open
Mark scheme
  • B To reduce the time taken to transmit a file (1)
  • The only correct answer is B. The correct answer is to reduce the time taken to transmit a file.
  • A is not correct because compression reduces file size, which can reduce the number of packets sent
  • C is not correct because lossy compression can reduce the quality of a file
  • D is not correct because encryption, not compression, can make a file harder to open
Example answers and how they were marked
Full marks1/1

B To reduce the time taken to transmit a file

Why: Correct option (1).

No marks0/1

A To increase the number of packets sent

Why: Near miss: compression reduces the number of packets sent, so no mark.

No marks0/1

C To improve the quality of the file

Why: Misconception that compression improves quality; no mark.

2Multiple choice1 markCompression Swap Remove

A student downloads a compressed music file and then decompresses it.

Identify what is meant by decompression.

[1 mark]
  • AData is encrypted so that it cannot be read
  • BData is permanently removed to reduce the file size
  • CData is restored to its original format
  • DData is stored using fewer bits
Mark scheme
  • C Data is restored to its original format (1)
  • The only correct answer is C. The correct answer is data is restored to its original format.
  • A is not correct because encryption changes data so that it cannot be read without a key; it does not restore the data
  • B is not correct because permanently removing data to reduce the file size is lossy compression, not decompression
  • D is not correct because storing data using fewer bits is compression, not decompression
Example answers and how they were marked
Full marks1/1

C Data is restored to its original format

Why: Correct option (1).

No marks0/1

D Data is stored using fewer bits

Why: Near miss: this describes compression, not decompression.

No marks0/1

B Data is permanently removed to reduce the file size

Why: Misconception: this describes lossy compression, not decompression.

3Multiple 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).

4Short recall2 marksUnits & Conversion Swap Remove

A solid state drive has a capacity of 5 gibibytes.

Give an expression to calculate the number of bits in 5 gibibytes. You do not need to do the calculation.

[2 marks]
Mark scheme

Award one mark for each of:

  • 5 × 1024^3 / 5 × 1024 × 1024 × 1024 / 5 × 2^30, for the number of bytes (1)
  • A fully correct expression with × 8 to convert bytes to bits, in any order, e.g. 5 × 1024^3 × 8, 8 × 5 × 2^30 (1)

Accept 5 × 1 073 741 824 × 8.

Accept 5 × 2^33 or 42 949 672 960 as a fully correct expression (2 marks).

Do not accept 5 × 1000^3 × 8, which uses decimal multiples.

Do not accept ÷ 8, which converts bits to bytes.

Example answers and how they were marked
Full marks2/2

8 × 5 × 2^30

Why: 5 × 2^30 is the number of bytes (1) and × 8 converts bytes to bits (1).

Some marks1/2

5 × 2^30

Why: Correct number of bytes using the binary multiple 2^30 (1), but no conversion to bits.

No marks0/2

5 × 1000^3 × 8

Why: Uses decimal 1000^3 instead of binary 1024^3, so the expression is not fully correct; no creditworthy point.

5Describe2 marksCompression Swap Remove

Data can be compressed using lossy or lossless compression.

Describe one difference between lossy compression and lossless compression.

[2 marks]
Mark scheme

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

  • Lossy compression permanently removes/discards some of the data (1) whereas lossless compression keeps all of the original data so the file can be restored/rebuilt exactly (1)
  • Lossy compression cannot reproduce/recreate the original file exactly (1) whereas lossless compression can decompress the file back to its original form (1)
  • Lossy compression can make a file smaller than lossless compression (1) because more of the original data is removed/discarded (1)
  • Lossy compression is used for images/sound/video (1) whereas lossless compression is used where all the original data must be kept, such as program files (1)

Allow one mark for a correct statement about one type of compression only, e.g. 'lossy compression permanently removes some data', with no comparison or development.

Do not accept 'lossy compression loses quality' on its own unless it states that data/information is removed or lost permanently.

Do not accept 'lossy is better' or 'lossless is safer' with no described difference.

Do not award a smaller file size on its own; it must be linked to data being removed or to no data being lost.

Example answers and how they were marked
Full marks2/2

Lossy compression permanently removes some of the data, whereas lossless compression keeps all of the original data so the file can be restored exactly.

Why: Linked difference: lossy permanently removes data (1) and lossless keeps all data so the file is restored exactly (1).

Some marks1/2

Lossy compression permanently removes some of the data.

Why: A correct statement about one type only (1), with no comparison to lossless or development, so the second mark is not earned.

No marks0/2

Lossless compression removes the data that is not needed so the file is smaller, but lossy compression keeps every bit of the data.

Why: The two types are the wrong way round; no creditworthy point, so no marks.

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

7Explain2 marksCompression Swap Remove

A text file contains the same phrase many times.

Explain how lossless compression can reduce the size of this text file.

[2 marks]
Mark scheme

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

  • The repeated phrase is stored once (1) along with a count of the number of times it occurs (1)
  • The repeated phrase is replaced by a shorter code/reference (1) and the original phrase is held in a dictionary/lookup table (1)
  • A shorter code is used in place of each repeated phrase (1) so fewer characters/bits are needed to store the file (1)
  • Groups of repeated characters are replaced by a count and a single value (1) so the file stores less data (1)

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

Allow naming of a suitable method, e.g. run-length encoding or dictionary coding, in place of a description of that method.

Award the marks once only where the same method (run-length encoding) is described more than once.

Do not accept 'it makes the file smaller' on its own without a method of compression.

Do not accept answers that describe lossy compression, e.g. that data/detail is removed or lost permanently, because lossless compression keeps all of the original data.

Do not accept 'it removes the repeated words/duplicates' on its own, as this suggests data is lost; credit only where the answer says the phrase is stored once with a count or code.

Example answers and how they were marked
Full marks2/2

The repeated phrase is stored once and a count of how many times it occurs is stored with it.

Why: Phrase stored once (1) with the linked reason that a count of the repeats is also stored (1).

Some marks1/2

It finds the repeated patterns in the text and replaces them with a shorter code.

Why: Shorter code used in place of the repeated phrase (1) but no linked reason about fewer characters/bits being stored.

No marks0/2

It permanently removes the repeated words so there is less data to store.

Why: Describes lossy compression; the Do not accept line rejects removal of data because lossless compression keeps all of the original data.

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.

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.