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

2 questions · 4 marks

Pick again
Print
1Describe2 marksProcess Management Swap Remove

A process ends when its program closes or finishes.

Describe how the operating system terminates a process.

[2 marks]
Mark scheme

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

  • Frees/releases the memory/RAM used by the process (1) so other processes can use it (1)
  • Removes the process from the ready queue/scheduler (1) so it is no longer selected to run on the CPU (1)
  • Releases other resources (files/peripherals) held by the process (1) so they can be used by other processes (1)
  • Removes/updates the process entry in the process table (1) to show the process is no longer running (1)

Allow 'process queue' / 'queue of processes' for ready queue/scheduler.

Allow 'program' for process.

Do not accept responses that only restate that the process/program has ended/closed.

Do not accept responses that only say the process stops running / the computer stops using the program, with no linked description.

Do not accept responses that say the program/file is deleted from storage or that the user closed/deleted the program.

Example answers and how they were marked
Full marks2/2

It frees the memory the process was using so other processes can use it.

Why: Frees memory (1) linked to other processes using it (1).

Some marks1/2

It removes the process from the queue.

Why: One creditworthy point about removing from the queue (1), but no linked development.

No marks0/2

It deletes the program from the hard drive.

Why: Terminating a process does not delete the program file; no creditworthy point.

2Explain2 marksProcess Management Swap Remove

A computer has a single CPU.

Explain how the operating system allows a user to run several programs at the same time.

[2 marks]
Mark scheme

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

  • The operating system switches rapidly between processes (1) so each process runs for a short time slice before the next one starts (1)
  • Each process is given a small amount of CPU time (1) so the CPU moves on to another process when that time is up (1)
  • The operating system chooses which process to run next (1) so the CPU is shared between the programs (1)
  • Processes take turns to use the CPU (1) because the CPU is so fast the user does not notice the switching (1)
  • Only one process can run on the CPU at a time (1) so the operating system must swap processes in and out quickly (1)

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

Allow 'time slice' / 'time quantum'.

Do not accept 'the computer has more than one CPU' / 'each program runs on its own CPU'.

Do not accept 'the CPU does two things at once' without saying processes take turns/are switched.

Example answers and how they were marked
Full marks2/2

The operating system switches rapidly between processes, giving each one a small time slice, so the CPU is shared and the programs appear to run together.

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

Some marks1/2

Each process is given a small amount of CPU time.

Why: A correct point (1) but no linked reason.

No marks0/2

The computer has two CPUs so each program can run on its own processor.

Why: The scenario states a single CPU, so this misconception earns no credit.

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.