Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 693 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

3 questions · 8 marks

Pick again
Print
1Short recall1 markCharacter Sets Swap Remove

ASCII uses 7 bits to store each character. A system has only 6 bits available to store each character.

State the number of different characters the system can represent.

[1 mark]
Mark scheme

Award one mark for:

  • 64 (1)
  • 2^6 (1)
  • 2 × 2 × 2 × 2 × 2 × 2 (1)

Allow 64 characters / sixty-four.

Allow 2 to the power of 6 for 2^6.

Do not accept 128, which is the number of characters that can be represented using 7 bits.

Do not accept 63, the largest value that can be represented using 6 bits, rather than the number of different characters.

Do not accept 12 (2 × 6), ie the number of bits multiplied by 2.

Example answers and how they were marked
Full marks1/1

64

Why: Correct: 2^6 = 64 different characters (1).

No marks0/1

128

Why: Scores 0: 128 is the number of characters that 7 bits can represent, not the 6 bits the system has; the Do not accept line applies.

No marks0/1

63

Why: Scores 0: 63 is the largest value 6 bits can hold, not the number of different characters; the Do not accept line applies.

2Short recall1 markImages Swap Remove

Each pixel in a bitmap image is stored using a number of bits.

Define the term colour depth.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The number of bits per pixel (1)
  • The number of bits used to represent/store the colour of each pixel (1)

Allow bit depth

Do not accept the number of colours a pixel can have on its own

Do not accept the number of pixels in the image (this is the resolution/image size)

Example answers and how they were marked
Full marks1/1

The number of bits used to store the colour of one pixel.

Why: Gives the number of bits per pixel (1)

No marks0/1

The number of colours that each pixel can use.

Why: Gives the number of colours, not the number of bits; the mark scheme does not accept this on its own

No marks0/1

The number of pixels in the image.

Why: Confuses colour depth with resolution/image size, which the mark scheme does not accept

3Discuss6 marksSound Swap Remove

A toy company is designing an electronic keyboard. The keyboard can store and play back short recorded sounds. The memory chip in the keyboard has very little space, so each sample is stored using only 3 bits.

Discuss the limitations of storing the recorded sounds using only 3 bits per sample.

Your answer should include:

  • the range and number of amplitude values that can be stored
  • the accuracy of each sample that is stored
  • how the limitation could affect what the user hears.
[6 marks]
Mark scheme

Indicative content

Range and number of values

  • With a bit depth of 3, the keyboard can store only 2^3 = 8 different amplitude values.
  • The 3-bit codes run from 000 to 111, so the loudest and quietest amplitudes the keyboard can record are fixed by those codes.
  • Because only eight levels of loudness are available, the keyboard cannot store the full variation in amplitude of the original recording.
  • Any sound in between two of the eight values cannot be stored at all, so much of the detail of the original sound has no code to represent it.

Accuracy of the stored sample

  • Each true amplitude must be rounded to the nearest of the eight available values, so the stored sample is not the same as the amplitude that was measured.
  • The difference between the true amplitude and the rounded value is the quantisation error, which makes every stored sample less accurate.
  • The eight values are far apart, so there is a large step between one stored amplitude and the next and the stored sound rises and falls in big jumps rather than following the original wave.
  • A quiet sound whose amplitude is smaller than one step may be stored with the same code as silence, so that part of the recording is lost.

Effect on the user

  • When the keyboard plays back the recording, the large steps between stored amplitudes are heard as distortion or noise rather than a smooth copy of the original sound.
  • Quiet parts of the recording may not be heard at all, because they are stored as the same value as silence.
  • The reproduced sound may not be recognisable as the instrument or voice that was recorded.

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 explain that 3 bits gives only 8 amplitude values and link the large steps between those values to the distortion or the loss of quiet sounds that the user hears; an explicit binary range of 000 to 111 is not required for Level 3.

Level 2 requires one point to be developed with a reason, e.g. eight values means each amplitude is rounded to the nearest and the quantisation error is large enough to be heard; stating 8 values, reduced accuracy and distortion as separate basic points without a reason is Level 1. Do not accept bit depth described as the number of samples taken per second, or a bare statement that the quality is worse with no explanation.

Example answers and how they were marked
Full marks6/6

With only 3 bits per sample, the keyboard can store just 2^3 = 8 different amplitude values. Each recorded amplitude has to be rounded to the nearest of these eight values, so the stored sample is not the same as the original and a quantisation error is created. The eight values are far apart, so the stored sound moves in large steps instead of following the original wave. A quiet sound smaller than one step is stored as the same code as silence, so it is lost. When the keyboard plays the recording back, the user hears these large steps as distortion and noise, and quiet parts of the music may not be heard at all, so the sound is not a faithful copy of the original.

Why: Level 3 (6 marks): explains the 8 values from 3 bits, rounding creating quantisation error, the large steps between values, lost quiet sounds and the distortion the user hears, all applied to the keyboard.

Some marks2/6

With 3 bits, there are only 8 values that can be stored, so the amplitude is rounded to the nearest value. This makes the sound less accurate than the original recording. The user might hear distortion when the keyboard plays it back.

Why: Level 1 (2 marks): gives basic points (8 values, rounding to the nearest value, less accurate, possible distortion) but states them separately, without explaining why the eight far-apart values cause a large quantisation error or why that is heard as distortion, so it does not reach Level 2.

No marks0/6

3 bits means 3 samples per second, so the keyboard cannot store much sound. The quality will be low.

Why: Level 0 (0 marks): confuses bit depth with sample rate ('3 samples per second'), which the scheme says not to accept, and 'the quality will be low' is a bare statement with no explanation, so there is no creditworthy point.

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.