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

Pick again
Print
1Short 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

2Explain2 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.

3Explain2 marksCharacter Sets Swap Remove

ASCII uses a fixed number of bits to represent each character.

Explain one reason why ASCII uses 7 bits to represent each character.

[2 marks]
Mark scheme

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

  • 7 bits give 128 different codes/combinations (1) which is enough to represent all the characters on a keyboard (1)
  • 7 bits allow 128 unique characters (1) so uppercase and lowercase letters, digits and punctuation can all be represented (1)
  • 6 bits give only 64 combinations (1) which is not enough for the number of characters on a keyboard (1)
  • A keyboard needs to represent more than 64 different characters (1) so 7 bits are needed to give the 128 combinations required (1)
  • A fixed number of 7 bits gives 128 possible codes (1) which is enough for the characters ASCII represents, so more bits are not needed (1)

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

Do not accept 'because ASCII is 7-bit' or 'because 7 bits is enough' as these repeat the question without giving the number of combinations or saying what they allow.

Do not accept '7 bits give 256 characters'; 256 combinations come from 8 bits (extended ASCII).

Allow 'ASCII has 128 characters/codes' for the 128 point.

Example answers and how they were marked
Full marks2/2

7 bits give 128 different codes, which is enough for every letter, digit and punctuation symbol on a keyboard.

Why: Gives the point that 7 bits give 128 codes (1) and links it to the reason that this is enough for all the characters on a keyboard (1).

Some marks1/2

7 bits give 128 different combinations.

Why: Gives the point that 7 bits give 128 combinations (1) but does not say what this number of combinations allows, so the linked reason (1) is not earned.

No marks0/2

Because ASCII uses 7 bits so it can store 256 characters.

Why: Repeats the question and gives the wrong number of characters (256 is 8-bit extended ASCII), 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.