Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 604 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

10 questions · 19 marks

Pick again
Print
1Convert1 markBinary to Denary Conversion Swap Remove

Binary, denary and hexadecimal patterns represent numbers.

Convert the binary pattern 1110 1100 to denary.

[1 mark]
Mark scheme

Award one mark for:

  • 236 (1)
Example answers and how they were marked
Full marks1/1

236

Why: Correct: 128 + 64 + 32 + 8 + 4 = 236 (1).

No marks0/1

55

Why: Reads the place values from the wrong end (the left-hand bit as 1), so the value is wrong.

No marks0/1

5

Why: Counts the 1s instead of adding their place values.

2Describe2 marksBinary and Hexadecimal Basics Swap Remove

An electronic lock stores each of its codes as a 4-bit binary pattern.

Describe how the number of different codes that can be stored can be calculated.

[2 marks]
Mark scheme

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

  • Each bit has two possible values/states (0 or 1) (1) so the number of codes is 2 × 2 × 2 × 2 = 16 (1)
  • The number of bits is used as the power of 2 (1) so for 4 bits the number of codes is 2^4 = 16 (1)
  • Each extra bit doubles the number of possible codes (1) so 4 bits give 2 × 2 × 2 × 2 = 16 codes (1)

Do not accept 15 (or 2^4 − 1): this is the largest value a 4-bit pattern can hold, not the number of different codes.

Do not award a response that only states 16 or '2^4 = 16' without a linked description.

Do not award '2 to the power of 4' on its own without a linked description, such as two values per bit or the number of bits used as the power of 2.

Example answers and how they were marked
Full marks2/2

Each bit can be either 0 or 1, so there are two possibilities for every bit. For a 4-bit code this is 2 × 2 × 2 × 2 = 16 different codes.

Why: Two possible values for each bit (1) linked to multiplying for 4 bits to get 16 (1).

Some marks1/2

Each bit has two possible values.

Why: Gives the first point (1) but does not link it to calculating the number of codes.

No marks0/2

The largest number a 4-bit pattern can hold is 15, so 15 different codes can be stored.

Why: Classic misconception: 15 is the largest value a 4-bit pattern can hold, not the number of different codes; the mark scheme says not to accept 15.

3Explain2 marksBinary and Hexadecimal Basics Swap Remove

A computer stores a colour as a 24-bit binary pattern.

The programmer writes the colour in hexadecimal rather than in binary. Explain one reason why.

[2 marks]
Mark scheme

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

  • Hexadecimal is shorter/has fewer digits than binary (1) because each hexadecimal digit represents 4 bits/a nibble (1)
  • Hexadecimal is easier to read/write (1) because there are fewer characters/digits to enter (1)
  • Hexadecimal is easier to convert to and from binary (1) because four binary bits map to one hexadecimal digit (1)

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

Allow the 24-bit colour as the linked reason, e.g. a 24-bit value can be written as only 6 hexadecimal digits (1).

Do not accept 'easier'/'simpler' on its own: naming what is easier, such as easier to read/write, is the first mark, but the second mark needs a linked reason.

Only credit 'fewer digits/characters' once, as the reason for one point; do not award it again as the reason for a second point.

Do not accept that hexadecimal uses less storage space/memory than binary, or that it is more compact to store; the same number of bits is stored.

Example answers and how they were marked
Full marks2/2

Hexadecimal is shorter than binary because each hexadecimal digit represents 4 bits, so the 24-bit colour needs only 6 hexadecimal digits.

Why: Gives the point that hexadecimal is shorter (1) and links it to each hexadecimal digit representing 4 bits, using the 24-bit colour as the linked reason (1).

Some marks1/2

Hexadecimal is easier to read than binary.

Why: Names what is easier to read (1) but gives no linked reason such as fewer digits to enter, so only one mark.

No marks0/2

Hexadecimal is used because it takes up less storage space than binary.

Why: The same number of bits is stored in either notation, so this is a misconception and earns no mark.

4Convert2 marksBinary to Hexadecimal Conversion Swap Remove

Computers manipulate binary patterns.

Convert the binary pattern 1100 1111 to hexadecimal.

[2 marks]
Mark scheme

Award one mark for each correct digit in the correct position:

  • C (1)
  • F (1)

Answer: CF

Example answers and how they were marked
Full marks2/2

CF

Why: Each nibble is one hexadecimal digit: 1100 = C, 1111 = F: both digits are correct (2).

Some marks1/2

C15

Why: One digit is correct (1), but the second is written as 15 in denary instead of F.

No marks0/2

FC

Why: The digits are the wrong way round, so neither is in the correct position.

5Convert2 marksBinary to Hexadecimal Conversion Swap Remove

Computer systems manipulate bit patterns.

Convert the binary pattern 1110 1111 to hexadecimal.

[2 marks]
Mark scheme

Award one mark for each correct digit in the correct position:

  • E (1)
  • F (1)

Answer: EF

Example answers and how they were marked
Full marks2/2

EF

Why: Each nibble is one hexadecimal digit: 1110 = E, 1111 = F: both digits are correct (2).

Some marks1/2

E15

Why: One digit is correct (1), but the second is written as 15 in denary instead of F.

No marks0/2

FE

Why: The digits are the wrong way round, so neither is in the correct position.

6Convert2 marksBinary to Hexadecimal Conversion Swap Remove

Binary, denary and hexadecimal patterns represent numbers.

Convert the binary pattern 0100 1010 to hexadecimal.

[2 marks]
Mark scheme

Award one mark for each correct digit in the correct position:

  • 4 (1)
  • A (1)

Answer: 4A

Example answers and how they were marked
Full marks2/2

4A

Why: Each nibble is one hexadecimal digit: 0100 = 4, 1010 = A: both digits are correct (2).

Some marks1/2

410

Why: One digit is correct (1), but a digit over 9 is written in denary instead of as a letter.

No marks0/2

A4

Why: The digits are the wrong way round, so neither is in the correct position.

7Convert2 marksDenary to Hexadecimal Conversion Swap Remove

Computers manipulate binary patterns.

Convert the denary number 161 to hexadecimal.

[2 marks]
Mark scheme

Award one mark for each correct digit in the correct position:

  • A (1)
  • 1 (1)

Answer: A1

Example answers and how they were marked
Full marks2/2

A1

Why: 161 ÷ 16 = 10 remainder 1, so the digits are A and 1: both digits are correct (2).

Some marks1/2

101

Why: One digit is correct (1), but a digit over 9 is written in denary instead of as a letter.

No marks0/2

1A

Why: The digits are the wrong way round, so neither is in the correct position.

8Convert2 marksHexadecimal to Binary Conversion Swap Remove

Binary patterns can represent numbers.

Convert the hexadecimal number D3 to 8-bit binary.

[2 marks]
Mark scheme

Award one mark for each correct nibble in the correct order:

  • 1101 (1)
  • 0011 (1)

0 marks if the response is not 8-bit binary.

Example answers and how they were marked
Full marks2/2

1101 0011

Why: Each digit is 4 bits: D = 1101, 3 = 0011 (2).

Some marks1/2

1101 0100

Why: Converts 3 as if it were the next digit up. The first nibble is correct (1); the second is not.

No marks0/2

0011 1101

Why: The nibbles are in the wrong order. Neither nibble is correct.

9Convert2 marksHexadecimal to Binary Conversion Swap Remove

Binary, denary and hexadecimal patterns represent numbers.

Convert the hexadecimal number DB to 8-bit binary.

[2 marks]
Mark scheme

Award one mark for each correct nibble in the correct order:

  • 1101 (1)
  • 1011 (1)

0 marks if the response is not 8-bit binary.

Example answers and how they were marked
Full marks2/2

1101 1011

Why: Each digit is 4 bits: D = 1101, B = 1011 (2).

Some marks1/2

1101 1100

Why: Converts B as if it were the next digit up. The first nibble is correct (1); the second is not.

No marks0/2

1011 1101

Why: The nibbles are in the wrong order. Neither nibble is correct.

10Calculate2 marksBinary Shifts Swap Remove

Computer systems manipulate bit patterns.

Complete the table with the result of applying the shift to the binary pattern.

[2 marks]
Binary patternShift8-bit binary result
1000 0111Logical shift right by 1
Mark scheme

Award one mark for each correct nibble in the correct order:

  • 0100 (1)
  • 0011 (1)

0 marks if the response is not 8-bit binary.

Example answers and how they were marked
Full marks2/2

0100 0011

Why: Every bit moves 1 place right, with 0s in from the left: both nibbles are correct (2).

Some marks1/2

0100 0010

Why: A slip in the last bit. The first nibble is correct (1); the second is not.

No marks0/2

0000 1110

Why: Shifts the bits the wrong way. Neither nibble is correct.

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.