Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 659 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 · 6 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 recall1 markImages Swap Remove

A bitmap image has a resolution.

State what is meant by the resolution of an image.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • The concentration/density of pixels in an area (1)
  • The number of pixels per inch (PPI) / pixels per unit area (1)
  • The width and height/dimensions of the image in pixels (1)

Do not accept the number of pixels in the image on its own, without dimensions or an area, e.g. 'the total number of pixels'

Do not accept colour depth / the number of bits used per pixel / the number of colours

Do not accept file size in bytes / the amount of storage the image uses / screen size / image quality

Example answers and how they were marked
Full marks1/1

The concentration of pixels in an area, such as the number of pixels per inch.

Why: Gives the density/concentration of pixels in an area, and pixels per inch (1)

No marks0/1

The number of pixels in the image.

Why: A bare total pixel count is not accepted without dimensions or an area

No marks0/1

The number of bits used to store each pixel's colour.

Why: Describes colour depth, not resolution, and colour depth is not accepted

3Describe2 marksCharacter Sets Swap Remove

A computer uses 7-bit ASCII to represent characters.

The character M has the ASCII code 77. Describe how the character M is represented in the computer.

[2 marks]
Mark scheme

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

  • The denary code 77 is converted to binary (1) to give the 7-bit pattern 1001101 (1)
  • The character M is represented by a unique ASCII code/number (1) that is stored as a 7-bit binary pattern (1)
  • 7 bits are used to store the code for M (1) so 128 different characters can be represented (1)
  • The binary pattern 1001101 is stored in memory (1) using one 7-bit code for each character (1)

Do not accept answers that only state the ASCII code 77, as this is given in the question.

Do not accept 01001101, as this is an 8-bit pattern.

Do not accept ASCII described as a programming language or a method of encryption.

Example answers and how they were marked
Full marks2/2

77 is converted to binary, giving 1001101. This is stored using 7 bits for the character M.

Why: Linked description: converts the code to binary (1) to give the 7-bit pattern 1001101 (1).

Some marks1/2

77 is changed into binary so it can be stored.

Why: Gives the conversion of 77 to binary (1) but does not give the 7-bit pattern 1001101 (0).

No marks0/2

ASCII is a programming language that stores letters as numbers.

Why: Describes ASCII as a programming language, which the mark scheme says is not creditworthy; no linked description of how M is represented.

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

Questions by topic

5.3 Cybersecurity

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.