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

3Short recall1 markImages Swap Remove

A bitmap image uses one bit per pixel.

State the limitation this places on the number of colours in the image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • Only two different colours can be represented/stored (1)
  • Each pixel can only be one of two values (1)
  • The image can only be shown in black and white (1)

Allow answers that give the number of colours, e.g. two colours, 2 colours

Allow any pair of two colours, e.g. black and white, black and grey

Do not accept low resolution/poor quality/lower quality

Do not accept only one colour/can only show black

Do not accept 2 bits/2^1 without a statement about the number of colours that can be represented

Example answers and how they were marked
Full marks1/1

Only two colours can be represented, such as black and white.

Why: States that only two different colours can be represented (1)

No marks0/1

The image will have a low resolution.

Why: Confuses colour depth with resolution; low resolution is not accepted

No marks0/1

The image can only show black.

Why: One colour is all a single value can give; the limitation is that only two colours can be represented, so this is not accepted

4Discuss6 marksSound Swap Remove

A developer is creating a voice memo app for a phone. The app records speech and saves it as a digital audio file. The developer can choose the bit depth used for each sample.

Discuss how the bit depth affects how the amplitude of the speech is represented in binary and the size of the saved file.

Your answer should include:

  • how the amplitude of a sample is stored using bits
  • how the bit depth affects the accuracy of each sample
  • the effect of the bit depth on the file size.
[6 marks]
Mark scheme

Indicative content

Storing amplitude

  • Each sample records the amplitude of the sound wave at that moment, and the amplitude is stored as a binary number.
  • The bit depth is the number of bits used to store each sample, so it sets how many different amplitude values can be represented.
  • With a bit depth of 8, there are 2^8 = 256 possible values for the height of the wave.
  • The binary value for each sample tells the computer how loud the speech is at that point.

Accuracy

  • A higher bit depth gives more possible values, so the recorded amplitude can be closer to the true amplitude of the speech.
  • With a low bit depth, the amplitude must be rounded to the nearest available value, which adds quantisation error and makes the speech sound rough.
  • A higher bit depth reduces the difference between the original wave and the digital version.
  • Quiet parts of the speech may be lost or inaccurately recorded if the bit depth is too low.

File size

  • A higher bit depth uses more bits for every sample, so the voice memo file is larger.
  • A lower bit depth reduces the number of bits per sample, so the file is smaller and uses less storage on the phone.
  • The developer must balance clear speech against storage space and download time.

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 link the bit depth to both the accuracy of the amplitude and the file size.

Do not accept bit depth defined as the number of samples taken per second.

Example answers and how they were marked
Full marks6/6

Each sample measures the amplitude of the speech wave and stores it as a binary number. The bit depth is the number of bits used for each sample, so with 4 bits there are only 16 possible amplitude values, but with 16 bits there are 65,536. A higher bit depth therefore lets the app record the loudness of the speech more accurately, because each sample can be closer to the real wave and quiet sounds are less likely to be rounded away. This makes the voice memo sound clearer. However, every sample uses more bits, so a higher bit depth creates a larger file, which takes up more storage on the phone and may take longer to send. The developer should choose a bit depth that keeps speech clear without making the files unnecessarily large.

Why: Level 3 (6 marks): explains amplitude stored in binary, how bit depth gives more values and accuracy, and the file-size trade-off, applied to the voice memo app.

Some marks3/6

The bit depth is the number of bits used for each sample. A higher bit depth means the amplitude can be stored more accurately because there are more values. But it makes the file larger. The app should use a high bit depth for clear speech.

Why: Level 2 (3 marks): covers bit depth, accuracy and file size briefly with some linkage, but lacks detailed reasoning.

Some marks1/6

The bit depth is the number of samples taken per second. A higher bit depth means more samples are taken, so the file is smaller and the speech is more accurate.

Why: Level 1 (1 mark): a basic idea that more accuracy is linked to higher bit depth, but bit depth is confused with sample rate and the file-size effect is wrong.

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.