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 · 10 marks

Pick again
Print
1Multiple choice1 markCharacter Sets Swap Remove

A text file stores each character using 7-bit ASCII.

Identify the denary ASCII code for the space character.

[1 mark]
  • A32
  • B33
  • C48
  • D65
Mark scheme
  • A 32 (1)
  • The only correct answer is A. The correct answer is 32.
  • B is not correct because 33 is the ASCII code for the exclamation mark (!)
  • C is not correct because 48 is the ASCII code for the character 0
  • D is not correct because 65 is the ASCII code for the uppercase letter A
Example answers and how they were marked
Full marks1/1

A 32

Why: Correct option: the space character has the ASCII code 32 (1).

No marks0/1

C 48

Why: Near miss scoring 0: 48 is the ASCII code for the character 0, not the space character.

No marks0/1

D 65

Why: Misconception scoring 0: 65 is the ASCII code for the uppercase letter A, so a well-known code is given but not the code for a space.

2Short 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

3Explain2 marksImages Swap Remove

Two versions of the same photograph are displayed at the same size on a screen. Version A is 800 × 600 pixels. Version B is 1600 × 1200 pixels.

Explain why Version B can show more detail.

[2 marks]
Mark scheme

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

  • Version B has more pixels in the same area (1) so each pixel represents a smaller part of the image (1)
  • Version B has a higher pixel density (1) so finer detail can be represented (1)
  • The pixels in Version B are smaller (1) so more detail can be captured in the same space (1)
  • Version B has a higher resolution (1) because there are more pixels per unit of area (1)

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

Do not accept 'more pixels' on its own without saying same area/pixel density/smaller pixels.

Do not accept higher colour depth or more colours.

Example answers and how they were marked
Full marks2/2

Version B has more pixels in the same area so each pixel represents a smaller part of the image.

Why: Linked point (1) and reason (1): more pixels in the same area means smaller pixels and more detail.

Some marks1/2

Version B has more pixels in the same area.

Why: One mark for the point about pixel density; the linked reason about smaller pixels or finer detail is missing.

No marks0/2

Version B has a higher colour depth, so it can display more colours.

Why: Colour depth is not the reason for more detail here; this is the common misconception that colour depth increases resolution.

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.