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

9 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

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.

3Multiple choice1 markUnits & Conversion Swap Remove

Units of data storage can be binary or decimal.

Identify the unit of storage that is equivalent to 1024 gibibytes.

[1 mark]
  • AGibibyte
  • BMebibyte
  • CTebibyte
  • DTerabyte
Mark scheme
  • C Tebibyte (1)
  • The only correct answer is C. The correct answer is tebibyte.
  • A is not correct because a gibibyte is 1024 mebibytes
  • B is not correct because a mebibyte is 1024 kibibytes
  • D is not correct because a terabyte is 1000 gigabytes
Example answers and how they were marked
Full marks1/1

C Tebibyte

Why: Correct: 1024 gibibytes make one tebibyte (1).

No marks0/1

A Gibibyte

Why: Near miss: a gibibyte is 1024 mebibytes, not 1024 gibibytes (0).

No marks0/1

D Terabyte

Why: Typical misconception: uses the decimal terabyte (1000 gigabytes) instead of the binary tebibyte (0).

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

5Short recall1 markUnits & Conversion Swap Remove

A file has a size of 2 kibibytes.

State the number of bytes in the file.

[1 mark]
Mark scheme

Award one mark for:

  • 2048 (1)
  • 2 × 1024 (1)
  • 2^11 (1)

Allow 2048 bytes.

Do not accept 2000, which is the number of bytes in two decimal kilobytes.

Do not accept 1024, which is the number of bytes in one kibibyte.

Do not accept 16, which is the number of bits in two bytes.

Example answers and how they were marked
Full marks1/1

2048

Why: 2048 is 2 × 1024, the number of bytes in 2 kibibytes (1).

No marks0/1

2000

Why: 2000 uses the decimal kilobyte, not the binary kibibyte; the mark scheme does not accept it.

No marks0/1

16

Why: 16 is the number of bits in two bytes, confusing bits with bytes; the mark scheme does not accept it.

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

7Explain2 marksUnits & Conversion Swap Remove

A server stores a large amount of data.

The capacity of the server is 16 TiB. Explain one benefit of giving the capacity in tebibytes rather than in bytes.

[2 marks]
Mark scheme

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

  • The capacity is easier to read/write (1) because a tebibyte is 1024^4 bytes so the same capacity in bytes would have many more digits (1)
  • The number is shorter (1) because writing 16 TiB instead of 17 592 186 044 416 bytes uses far fewer digits (1)
  • There is less chance of making a mistake when copying the value (1) because a long byte count of many digits is easy to mistype (1)

For both marks, the expansion must follow/associate with the statement and must refer to the number of digits/length of the value.

Allow 'fewer digits'/'shorter number'/'less chance of error' on its own for the first mark; the second mark needs the linked reason that a tebibyte is 1024^4 bytes, so the value in bytes would be very long/have many more digits.

Do not accept 'it is bigger'/'tebibytes are larger' on its own, as this does not give a benefit of using them.

Do not accept 'easier' on its own without saying what is easier, e.g. fewer digits/shorter number.

Do not accept 'because tebibytes are used for large storage' without a reason about the number of digits/readability.

Example answers and how they were marked
Full marks2/2

It is easier to read because 16 TiB has fewer digits than the same capacity written in bytes, which would be a very long number.

Why: Point that the number is easier to read (1); linked reason that the byte count would have many more digits (1).

Some marks1/2

It uses fewer digits.

Why: States the benefit of fewer digits (1); no linked reason about a tebibyte being 1024^4 bytes so the byte count is very long (0).

No marks0/2

Because a tebibyte is bigger than a byte.

Why: States a fact about the unit, which the mark scheme does not accept on its own; no point about fewer digits or readability, so no mark.

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

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