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

Pick again
Print
1Short recall2 marksCharacter Sets Swap Remove

A computer uses a character set to represent text.

Define the term character set.

[2 marks]
Mark scheme

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

  • A set/collection of characters (1)
  • (Characters such as) letters, digits and symbols/punctuation (1)
  • Each character is represented by a unique code/binary value (1)
  • A standard set of characters so that text can be exchanged between computer systems (1)

Allow 'a list of characters that a computer can represent' for the first mark.

Do not accept a program/software that converts text into binary.

Do not accept 'a set of binary codes' on its own.

Example answers and how they were marked
Full marks2/2

A set of characters, such as letters, digits and punctuation, where each character is represented by a unique binary code.

Why: Set/collection of characters with examples (1) and each character has a unique code (1).

Some marks1/2

A set of letters and symbols that a computer can use to represent text.

Why: Awarded for the set/collection of characters (1); no creditworthy point saying each character has its own unique code (0).

No marks0/2

A program that converts the keys pressed on a keyboard into binary.

Why: Describes software that converts text, not a set of characters; the Do not accept line applies.

2Explain2 marksCharacter Sets Swap Remove

A computer system uses a 4-bit code to represent the characters typed on its keyboard.

Explain one limitation of using 4 bits to represent characters.

[2 marks]
Mark scheme

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

  • Only 16 different characters can be represented (1) so there are not enough characters codes for every letter of the alphabet (1)
  • 4 bits give only 16 different combinations (1) which is not enough for the uppercase letters, lowercase letters, digits and symbols on a keyboard (1)
  • More than 16 characters are needed on a keyboard (1) so some letters, digits or symbols cannot be represented (1)
  • The number of character codes available is limited to 16 (1) because 4 bits give 2 to the power of 4 combinations (1)

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

Calculating that 4 bits give 2 to the power of 4 = 16 combinations can earn either the point or the linked reason, provided the other half of the answer says what this means (too few characters/codes).

Allow an expansion that names only the letters of the alphabet, e.g. there are not enough character codes for the 26 letters (1).

Do not accept '4 bits can only store 4 characters' (the number of bits is not the number of characters).

Do not accept 'it can only store 16 bits' (16 is the number of character codes/combinations, not the number of bits).

Do not accept 'not enough memory/storage' (the limitation is the number of character codes, not the amount of storage).

Do not accept 'it is limited/smaller' without saying how many characters/codes are available or what cannot be represented.

Example answers and how they were marked
Full marks2/2

Only 16 different characters can be represented, so there are not enough character codes for all 26 letters.

Why: Gives the point that only 16 characters can be represented (1) and links it to the reason that this is fewer than the letters needed (1).

Some marks1/2

Only 16 different characters can be represented.

Why: Gives the point that only 16 characters can be represented (1) but does not explain what cannot be represented.

No marks0/2

It can only store 4 characters because there are 4 bits.

Why: Misconception that the number of bits equals the number of characters, which the mark scheme says not to accept; no creditworthy point.

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.

4Discuss6 marksCharacter Sets Swap Remove

A library is digitising its catalogue. The titles of books and the names of authors are stored as text.

Discuss how 7-bit ASCII is used to encode the text in the library catalogue.

Your answer should include:

  • how characters are mapped to codes
  • why 7 bits are used for each character
  • the benefits of using ASCII for the catalogue.
[6 marks]
Mark scheme

Indicative content

How characters are mapped to codes

  • Each character in a book title or author name is given a unique 7-bit binary code from the ASCII character set.
  • The letter A, for example, is stored as the code 1000001 and the letter B as 1000010, so the catalogue can store letters as binary.
  • Uppercase letters, lowercase letters, digits, punctuation and the space character each have their own ASCII code.
  • The same character always uses the same code, so the text can be stored and read back correctly by the library system.

Why 7 bits are used for each character

  • Seven bits give 2 to the power of 7, which is 128 different bit patterns, and this is enough to represent the letters, digits and punctuation needed in the catalogue.
  • A standard keyboard has around 98 characters, so 6 bits would give only 64 codes and would not be enough.
  • Using a fixed 7 bits per character means every character takes the same amount of storage, which makes the catalogue file simple to process.

Benefits of using ASCII for the catalogue

  • ASCII is a standard character set, so the catalogue data can be exchanged between different computers and software.
  • Author names and titles entered on one system will display correctly on another system that uses ASCII.
  • ASCII uses only 7 bits per character, so the catalogue takes less storage than a character set that uses more bits.
  • It is simple to encode and decode because each character has a single fixed code.

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)

Do not accept 8 bits or 256 characters as features of 7-bit ASCII; these are extended ASCII.

Example answers and how they were marked
Full marks6/6

Each character in a catalogue title or author name is given its own 7-bit ASCII code. For example, the letter A is 1000001 and the letter B is 1000010, so the library can store the text as binary. Seven bits give 128 different codes, which is enough for uppercase and lowercase letters, digits, punctuation and spaces. Six bits would give only 64 codes, which would not be enough for all the characters in the catalogue. ASCII is also a standard character set, so the catalogue data can be exchanged between different computers and will display correctly. Because each character uses only 7 bits, the catalogue also takes less storage than it would with a character set that uses more bits per character.

Why: Covers all three bullets with sustained application: mapping and example codes; 7 bits give 128 codes and why 6 bits is insufficient; standardisation and storage benefits. Level 3.

Some marks4/6

ASCII gives each character a unique code. For example, A is stored as 1000001 and B is stored as 1000010. Seven bits are used for each character because seven bits give 128 codes, which is enough for the letters and punctuation in the catalogue. The library can store titles and author names as binary.

Why: Covers mapping and the 7-bit reason with some application, but does not discuss the benefits of ASCII for the catalogue. Level 2.

Some marks1/6

ASCII is a programming language that gives each letter a binary code. It uses 8 bits for each character, so it can store 256 characters. This means it can store every book title in the library.

Why: A basic point that letters are given binary codes is credited, but the answer treats ASCII as a programming language and uses 8 bits/256 characters, which are misconceptions. Level 1.

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.