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

Pick again
Print
1Short recall2 marksCharacter Sets Swap Remove

ASCII is a character set that uses 7 bits to represent each character.

Give two limitations of 7-bit ASCII when it is used to represent text.

[2 marks]
Mark scheme

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

  • (Only) 128 different characters can be represented / 7 bits give 2^7 = 128 different codes (1)
  • It cannot represent characters from languages other than English / non-English alphabets, e.g. Greek, Chinese (1)
  • It cannot represent accented characters, e.g. é, ñ (1)
  • It cannot represent symbols or emoji that are not in the ASCII character set (1)

Award a maximum of one mark for the last three bullets, as they are all examples of characters that fall outside the 128 ASCII codes.

Allow 'it can only represent 128 characters, so some characters are missing' for the first bullet.

Do not accept 'it uses 7 bits' / 'it only uses 7 bits' on its own, without saying what this limits.

Do not accept 'it can only store a limited amount of text' / 'it can only store short messages', as 7 bits limits the number of characters available, not the length of a message.

Do not accept 'it can only represent the characters in the ASCII character set', as this repeats the question.

Do not accept 'it is old/out of date' or 'it cannot store numbers'.

Example answers and how they were marked
Full marks2/2

Only 128 different characters can be represented, so it cannot store characters from other languages such as Greek.

Why: 128 character limit (1) and characters from other languages (1); two separate creditworthy limitations.

Some marks1/2

It cannot show accented characters like é and it only uses 7 bits.

Why: Accented characters (1); 'only uses 7 bits' is not qualified, so scores 0.

No marks0/2

It only uses 7 bits, so it can only store a small amount of text.

Why: Scores 0: text length is not a limitation of 7-bit ASCII, and 'only uses 7 bits' is unqualified; both Do not accept lines apply.

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.

3Describe2 marksCharacter Sets Swap Remove

A school needs to store text in several different languages.

Describe one limitation of using 7-bit ASCII to store this text.

[2 marks]
Mark scheme

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

  • 7-bit ASCII has only 128 different codes (1) so characters from languages such as Chinese cannot be stored (1)
  • 7 bits give 2^7 = 128 possible binary codes (1) so there are not enough codes to give every character in the world's languages its own code (1)
  • Only the 128 characters in the ASCII set can be stored (1) so a character outside the set, such as é or 中, cannot be represented (1)

The stated limit on its own (that ASCII can represent only 128 characters) earns 1 mark; the second mark is for linking it to characters from other languages not being storable.

Do not accept 'ASCII can only store English letters/characters' unless it refers to the 128 codes or the 7 bits.

Do not accept a statement that ASCII is 'limited' or 'old' with no link to the number of bits/codes.

Do not accept a recommendation to use Unicode instead, or that ASCII cannot store accented letters, without saying that the 7 bits/128 codes cause the limitation.

Do not accept responses that describe ASCII as a programming language.

Example answers and how they were marked
Full marks2/2

7-bit ASCII can only represent 128 characters, so it cannot store characters from languages such as Chinese.

Why: Only 128 characters/codes can be represented (1) and this is linked to characters from other languages not being storable (1).

Some marks1/2

ASCII only has 128 characters.

Why: States the limit set by the 7 bits, that only 128 characters can be represented (1), but does not link it to the text in several languages (0).

No marks0/2

ASCII can only store English letters, so the school should use Unicode to store accented letters like e with an accent.

Why: 'Only stores English letters' is not accepted without reference to the 128 codes/7 bits, and recommending Unicode is not a limitation caused by the number of available bits.

4Explain2 marksImages Swap Remove

An image uses a colour depth of 2 bits per pixel. The original image contains 12 different colours.

Explain why the image cannot be represented accurately at this colour depth.

[2 marks]
Mark scheme

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

  • Only 4 colours can be represented (1) because 2 bits give 2^2 = 4 possible values (1)
  • Some of the 12 colours cannot be stored (1) so they are lost/replaced with a colour that can be represented (1)
  • The image will not match the original exactly (1) because there are fewer colour codes than the number of colours needed (1)
  • Many colours will share the same binary value (1) so the image will lose colour detail (1)

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

Allow 'four colours' or '2^2'.

Do not accept 'only two colours' (confusing the number of bits with the number of values) or 'resolution is too low'.

Example answers and how they were marked
Full marks2/2

Only four colours can be represented because two bits give four possible binary values.

Why: Linked point (1) and reason (1): 2 bits give 2^2 = 4 colour codes.

Some marks1/2

Only four colours can be represented.

Why: One mark for identifying that four colours can be represented; the linked reason about two bits giving four values is missing.

No marks0/2

Only two colours can be represented because each pixel has two bits.

Why: A common misconception: two bits give four possible values, not two, so no creditworthy point is given.

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.