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

The ASCII code for the uppercase letter A is 65, which is stored as the 7-bit pattern 1000001.

Explain why the lowercase letter a is stored using a different 7-bit pattern.

[2 marks]
Mark scheme

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

  • The computer needs to tell/distinguish the uppercase A from the lowercase a (1) because each different character has its own unique 7-bit code/pattern (1)
  • A and a are different characters (1) so each needs a different 7-bit pattern to be stored and displayed correctly (1)
  • If A and a had the same 7-bit pattern (1) the computer could not tell which character to display (1)

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

Do not accept 'because they are different letters/cases' without saying they need different/unique codes or that the computer must tell them apart.

Do not accept 'because A is a capital letter' on its own.

Do not accept 'because the codes are different numbers' or '65 is not 97' without linking to the need to tell the characters apart or to unique codes.

Example answers and how they were marked
Full marks2/2

Each character needs its own unique code, so the computer can tell that A and a are different characters and display the right one.

Why: Gives the point that the computer must tell A and a apart (1) and links it to the reason that each character needs its own unique code (1).

Some marks1/2

The computer must be able to tell the difference between uppercase and lowercase letters.

Why: Gives the point that the computer must tell the two characters apart (1) but gives no linked reason about unique codes or different 7-bit patterns.

No marks0/2

Because A is a capital letter and a is lowercase.

Why: Only states that the letters are different cases, which the mark scheme says is not accepted without saying they need unique codes or that the computer must tell them apart.

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.