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

Pick again
Print
1Short recall2 marksTopologies Swap Remove

A small office installs a network that uses a star topology, with each device connected to a central switch.

Give two advantages of a star topology.

[2 marks]
Mark scheme

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

  • If one cable/device fails, the other devices are not affected (1)
  • Fast data transfer/high performance because each device has its own cable/connection (1)
  • Easy to add/remove devices (1)
  • Fault finding is easier because each device has its own cable (1)
  • The switch forwards data only to the destination device, so other devices do not receive it (1)

Do not accept disadvantages, such as the whole network going down if the central switch fails

Do not accept fast/faster/reliable/more reliable on their own, without a reason

Example answers and how they were marked
Full marks2/2

Each device has its own cable to the switch, so if one cable fails the other devices are not affected. It is also easy to add another device.

Why: Failure isolation (1) and easy to add devices (1).

Some marks1/2

It is fast because each device has its own connection.

Why: Fast data transfer qualified by own connection (1), but no second advantage.

No marks0/2

If the central switch fails, the whole network goes down.

Why: This is a disadvantage, not an advantage, so no mark.

2Describe2 marksTranslators Swap Remove

Source code can contain syntax errors.

Describe how a compiler and an interpreter differ in the way they deal with syntax errors.

[2 marks]
Mark scheme

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

  • The compiler reports all syntax errors after translation has finished (1) whereas the interpreter stops at the first error it finds (1)
  • The interpreter reports a syntax error as soon as it finds one (1) and does not translate/execute any more of the program (1)
  • The compiler continues translating after an error (1) and reports the errors at the end (1)
  • The interpreter stops translating when it reaches an error (1) but the compiler finishes translating before reporting errors (1)

Do not accept answers about fixing/correcting errors or about object code.

Do not award 'the compiler finds more errors' without saying errors are reported at the end.

Example answers and how they were marked
Full marks2/2

A compiler reports all the syntax errors at the end of translation, whereas an interpreter stops and reports the error as soon as it finds one.

Why: Compiler reports errors at the end (1) and interpreter stops/reports at the first error (1).

Some marks1/2

An interpreter stops translating when it finds a syntax error.

Why: Interpreter stops at the first error (1); no comparison with when the compiler reports errors.

No marks0/2

A compiler reports a syntax error immediately, before translating the rest of the program.

Why: Reverses the compiler's behaviour; it finishes translating before reporting errors.

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.