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

3 questions · 6 marks

Pick again
Print
1Describe2 marksMemory Management Swap Remove

The operating system is held in main memory while the computer is running.

Describe how the operating system stops a running program from overwriting memory that is not its own.

[2 marks]
Mark scheme

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

  • It keeps a record of which memory addresses/areas belong to each program and to the operating system (1) so it knows which addresses a program is allowed to use (1)
  • Each program is given its own area of main memory (1) so a program cannot write to the addresses used by another program or by the operating system (1)
  • The memory used by the operating system is marked as protected/reserved (1) so a program that tries to write to it is blocked/causes an error (1)
  • The address a program writes to is checked against the record of its allocated area (1) and the write is stopped if the address is outside that area (1)

Allow the memory being protected to be that of the operating system or of another program.

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

Do not award generic answers such as 'the operating system manages memory' or 'the operating system keeps track of memory'.

Do not award responses about stopping programs using too much memory or allocating memory, as these are not about protecting memory being overwritten.

Do not award responses about virtual memory, paging or moving processes to secondary storage.

Do not award responses about firewalls, antivirus software or passwords.

Example answers and how they were marked
Full marks2/2

The operating system gives each program its own area of main memory so that a program cannot write to the addresses used by another program or by the operating system.

Why: Each program is given its own area of main memory (1) linked to it not being able to write to the addresses used by another program or the operating system (1).

Some marks1/2

The operating system gives each program its own area of main memory.

Why: Each program is given its own area of main memory (1), but there is no linked development saying how this stops a program overwriting memory that is not its own.

No marks0/2

The operating system stops a program overwriting memory by moving it into virtual memory when it uses too much.

Why: This describes virtual memory and limiting how much memory a program uses, not protecting memory from being overwritten, so neither bullet applies and the Do not award lines rule it out.

2Describe2 marksProcess Management Swap Remove

An operating system manages the processes running on a computer.

Describe the purpose of process management.

[2 marks]
Mark scheme

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

  • Decides which process is given use of the CPU (1) so that more than one program can run/appear to run at the same time (1)
  • Allocates CPU time to each process (1) so that no single process takes control of the CPU (1)
  • Manages the states/life-cycle of each process (1) so processes can be moved between ready/running/blocked (1)
  • Keeps track of the processes and their status (1) so a process waiting for a resource can be returned to the CPU when it is ready (1)

Do not accept responses that only describe what a process is.

Do not accept responses that only list the types of operating system management.

Example answers and how they were marked
Full marks2/2

It decides which process will use the CPU so that several programs can run without one taking over the processor.

Why: Decision about CPU use (1) linked to allowing several programs to run (1).

Some marks1/2

It decides which process uses the CPU.

Why: One creditworthy point about choosing a process for the CPU (1), but no linked development.

No marks0/2

It makes sure the computer has enough RAM to store files.

Why: Describes memory/file management, not process management; no creditworthy point.

3Explain2 marksPeripheral Management Swap Remove

An operating system manages the peripherals connected to a computer.

Explain one reason why an operating system needs to manage peripheral devices.

[2 marks]
Mark scheme

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

  • Data is sent to/received from the correct peripheral (1) because the operating system controls the transfer of data between the computer and each device (1)
  • A new peripheral can be used as soon as it is connected (1) because the operating system installs/loads the correct device driver for that device (1)
  • Data can be sent to a slow peripheral such as a printer (1) because the operating system stores it in a buffer/print queue until the device is ready to receive it (1)
  • The user is told when a peripheral has a problem (1) because the operating system receives status information from the device and reports the error to the user (1)

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

Allow specific peripherals as the example (e.g. a mouse, a printer) provided the reason says what the operating system does.

Allow 'the operating system responds to an interrupt from a device' as a point, with the reason that the device is signalling that it needs attention/has finished its job.

Do not accept 'the operating system manages/controls the peripherals' or 'it lets the devices be used'/'the peripherals work correctly' on their own, as these repeat the question without saying what the operating system does.

Example answers and how they were marked
Full marks2/2

So that data is sent to the correct peripheral because the operating system controls the transfer of data between the computer and each device.

Why: Linked point (1) and reason (1).

Some marks1/2

So that data is sent to the correct device.

Why: Point (1) but no linked reason, so the second mark is not awarded.

No marks0/2

Because the operating system manages the peripherals.

Why: Rewords the question; the 'Do not accept' line says this earns nothing without saying what the operating system does.

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.