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

4 questions · 11 marks

Pick again
Print
1Multiple choice1 markCharacter Sets Swap Remove

Characters are encoded using 7-bit ASCII.

Identify the number of different characters that can be represented using 7-bit ASCII.

[1 mark]
  • A64
  • B127
  • C128
  • D256
Mark scheme
  • C 128 (1)
  • The only correct answer is C. The correct answer is 128.
  • A is not correct because 6 bits give only 64 different combinations
  • B is not correct because 127 is the largest 7-bit value, not the number of characters that 7 bits can represent
  • D is not correct because 256 characters need 8 bits, as used by 8-bit extended ASCII
Example answers and how they were marked
Full marks1/1

C 128

Why: Selects the only correct option (1): 7 bits give 2 to the power of 7, which is 128 different characters.

No marks0/1

D 256

Why: Near miss scoring 0: 256 is the number of characters that 8 bits give in extended ASCII, not 7-bit ASCII.

No marks0/1

B 127

Why: Misconception scoring 0, the off-by-one error the examiners' report describes: 127 is the largest 7-bit value, but 7 bits give 128 different characters.

2Short recall2 marksImages Swap Remove

Bitmap images are stored as a grid of pixels.

Define the term pixel.

[2 marks]
Mark scheme

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

  • The smallest element/area of a bitmap image (1)
  • The smallest identifiable part of an image (1)
  • Stores/represents a single colour as a binary value (1)
  • Stores/represents a single colour using a number of bits/colour depth (1)

Allow 'picture element' for element/part in the first two bullets, but not on its own

Allow 'bit depth' for colour depth

Do not accept 'picture element'/'pixel' on its own

Do not accept 'a group of pixels' or 'a dot' on its own; allow 'dot' only when it is described as the smallest element/area of the image

Do not accept 'single colour' on its own for the second mark; it must be linked to a binary value/number of bits

Do not accept 'lots of coloured dots' (it contradicts a single colour)

Example answers and how they were marked
Full marks2/2

The smallest identifiable area of a bitmap image, which has one colour stored as a binary value.

Why: Smallest identifiable area (1) and single colour stored as a binary value (1)

Some marks1/2

The smallest part of a bitmap image, made of one colour.

Why: Smallest part (1); no credit for the second mark because the single colour is not linked to a binary value or number of bits

No marks0/2

A picture element made from lots of coloured dots.

Why: 'Picture element' on its own is not accepted and 'lots of coloured dots' contradicts a single colour

3Explain2 marksCharacter Sets Swap Remove

Characters typed on a keyboard are stored using ASCII.

Explain how the computer encodes the letter A using ASCII.

[2 marks]
Mark scheme

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

  • The computer looks up the character in the ASCII character set/table (1) to find the code that represents it (1)
  • Each character has its own unique ASCII code (1) so the letter A is converted to and stored as a 7-bit binary pattern (1)
  • ASCII uses 7 bits for each character (1) so A is stored as its ASCII code 1000001 (binary) / 65 (denary) (1)

The second mark requires a linked expansion, so a point on its own (e.g. 'A has the code 65') can only earn one mark.

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

Accept an 8-bit pattern with a leading 0 (e.g. 01000001) as the binary code for A.

Do not accept 'the character is stored as text' without saying it is changed into a code/binary.

Do not accept a binary value on its own (e.g. 1000001) without saying that it is the ASCII code/that the character is converted to it.

Example answers and how they were marked
Full marks2/2

The computer finds the unique ASCII code for A, which is 65 in denary, and stores it as the 7-bit binary pattern 1000001.

Why: Linked point that A is given its unique ASCII code (1) and reason/expansion that it is converted to and stored as a 7-bit binary pattern (1).

Some marks1/2

The computer changes the letter A into a number.

Why: Gives the point that the character is given a code/number (1) but no linked expansion saying it is converted to binary or stored, so stays on one mark.

No marks0/2

The letter A is stored as the number 1 because it is the first letter of the alphabet.

Why: Wrong reason and no creditworthy point: it does not say that the character is given its ASCII code and converted to binary.

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