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

2 questions · 3 marks

Pick again
Print
1Short recall1 markWired Connections Swap Remove

A school's computers are connected to the network using Ethernet cables.

Define the term 'latency'.

[1 mark]
Mark scheme

Award one mark for:

  • A (time) delay between data/a signal being sent and being received (1)

Allow 'the time taken for data to travel from source to destination'

Allow 'the time taken for data to arrive at its destination after it is sent'

Allow 'time lag/time delay'

Do not accept the amount of data that can be transferred per second (this is bandwidth)

Do not accept the speed of the connection/how fast data travels (this is speed, not latency)

Example answers and how they were marked
Full marks1/1

The time delay between data being sent and arriving at its destination.

Why: Gives a delay between data being sent and being received, which is the creditworthy point (1).

No marks0/1

How much data the cable can carry each second.

Why: Describes bandwidth, which the mark scheme says not to accept, so no mark.

No marks0/1

How fast data travels along the Ethernet cable.

Why: Describes speed rather than a delay; the mark scheme does not accept 'how fast data travels', so no mark.

2Describe2 marksTranslators Swap Remove

A high-level program must be translated into machine code before it can be run.

Describe how a compiler and an interpreter differ in when the translated code is executed.

[2 marks]
Mark scheme

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

  • The interpreter executes each line as soon as it has been translated (1) so translation and execution happen together/at the same time (1)
  • The compiler translates the whole program first (1) and the machine code is run later/separately (1)
  • The interpreter translates the code and runs it while the program is running (1) whereas the compiler does not run the code it produces (1)
  • The compiler produces translated code that is executed only after all the translation has finished (1) but the interpreter executes each line immediately (1)

Allow 'translates one line at a time' where it is linked to executing each line immediately.

Do not accept answers that only state that a compiler is faster/an interpreter is slower, without reference to when execution happens.

Do not accept answers that only give object code, error reporting or portability, without reference to when execution happens.

Do not accept the compiler executing the program as it translates it.

Example answers and how they were marked
Full marks2/2

The compiler translates the code first and the program is executed afterwards, but the interpreter executes each line as soon as it has been translated.

Why: Compiler translates the whole program first and it is executed afterwards (1) and interpreter executes each line as soon as it is translated (1).

Some marks1/2

The interpreter executes each line immediately after translating it.

Why: Correct interpreter timing (1); no comparison with when the compiler's translated code is executed.

No marks0/2

The compiler executes the program line by line as it translates it.

Why: Reverses the two translators; a compiler does not execute the program it translates, so no mark.

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.