Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 687 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 · 7 marks

Pick again
Print
1Convert2 marksBinary to Hexadecimal Conversion Swap Remove

Binary, denary and hexadecimal patterns represent numbers.

Convert the binary pattern 1100 1010 to hexadecimal.

[2 marks]
Mark scheme

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

  • C (1)
  • A (1)

Answer: CA

Example answers and how they were marked
Full marks2/2

CA

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

Some marks1/2

C10

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

No marks0/2

AC

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

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

3Calculate3 marksAdding Binary Numbers Swap Remove

Computers manipulate binary patterns.

(a)

Complete the table to show the 8-bit result of the binary addition.

[2 marks]
1286432168421
10111001
10111100
Mark scheme

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

  • 0111 (1)
  • 0101 (1)

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

Ignore a carry shown beyond the eighth bit.

Example answers and how they were marked
Full marks2/2

0111 0101

Why: 185 + 188 = 373, which needs 9 bits; the 8 bits that are kept are both correct (2).

Some marks1/2

0000 0101

Why: Forgets to carry the 1s. The second nibble is correct (1); the first is not.

No marks0/2

1011 1101

Why: Never carries. Neither nibble is correct.

(b)

State the name of the error that occurs when this addition is carried out.

[1 mark]
Mark scheme

Award one mark for:

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

Overflow

Why: The result needs more bits than are available (1).

No marks0/1

Underflow

Why: A near miss: the result is too big for 8 bits, not too small.

No marks0/1

A syntax error

Why: A syntax error is a mistake in a program's code, not in arithmetic.

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.