Menu

Process Management Exam Questions

12 Edexcel GCSE Computer Science (1CP2) exam-style questions on Process Management (3.2 Software), 21 marks in all. Answer them on paper or print them, then open the mark schemes and example answers to see how each is marked.

Revise Process Management first

Build a paper on 3.2 Software
Print
1Multiple choice1 mark

Identify the term for the fixed, short period of CPU time that each process is given.

[1 mark]
  • AProcess
  • BRound robin
  • CScheduler
  • DTime slice
Mark scheme
  • D Time slice (1)
  • The only correct answer is D. The correct answer is time slice.
  • A is not correct because a process is a program that is being run
  • B is not correct because round robin is a scheduling method that takes turns, not the period of CPU time itself
  • C is not correct because a scheduler decides which process runs next
Example answers and how they were marked
Full marks1/1

D Time slice

Why: Correct option: a time slice is the fixed, short period of CPU time given to each process (1).

No marks0/1

C Scheduler

Why: Near miss: the scheduler decides which process runs next, but it does not name the period of CPU time given to a process (0).

No marks0/1

A Process

Why: A process is a program that is being run, not the CPU time it is given (0).

2Multiple choice1 mark

Identify the term for an operating system running more than one task at the same time.

[1 mark]
  • AMultitasking
  • BProcess management
  • CScheduler
  • DTime slice
Mark scheme
  • A Multitasking (1)
  • The only correct answer is A. The correct answer is multitasking. Allow 'multi-tasking'.
  • B is not correct because process management is the wider operating system function that controls processes, not the term for running more than one task at the same time
  • C is not correct because a scheduler decides which process will run next on the CPU
  • D is not correct because a time slice is a fixed period of CPU time allocated to a process by the scheduler
Example answers and how they were marked
Full marks1/1

A Multitasking

Why: Correct option (1): multitasking is an operating system running more than one task at the same time.

No marks0/1

B Process management

Why: Near-miss scoring 0: process management is the wider operating system function that controls processes, not the term for running tasks at the same time.

No marks0/1

C Scheduler

Why: Misconception: the candidate has picked a part of process management; the scheduler only decides which process runs next, so no mark is awarded.

3Multiple choice1 mark

Identify the component of the operating system that decides which process will run next on the CPU.

[1 mark]
  • AInterrupt
  • BProcess
  • CScheduler
  • DTime slice
Mark scheme
  • C Scheduler (1)
  • The only correct answer is C. The correct answer is scheduler.
  • A is not correct because an interrupt is a signal that needs immediate attention
  • B is not correct because a process is a program that is being executed, not a component of the operating system
  • D is not correct because a time slice is the amount of CPU time a process is given, not what decides which process runs next
Example answers and how they were marked
Full marks1/1

C Scheduler

Why: Correct option: the scheduler is the component that decides which process runs next on the CPU (1).

No marks0/1

D Time slice

Why: A time slice is the amount of CPU time a process is given, not the component that decides which process runs next (0).

No marks0/1

A Interrupt

Why: An interrupt is a signal that needs immediate attention; it does not decide which process runs next (0).

4Short recall2 marks

An operating system is responsible for process management.

Define the term process.

[2 marks]
Mark scheme

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

  • A program/set of instructions (1)
  • That is being run/executed (1)
  • That has been loaded into RAM/main memory to be run (1)
  • That the operating system manages/schedules (1)

Allow 'task' as a synonym for process.

Accept 'executed by the CPU'; naming the CPU is not required.

For 'loaded into RAM/main memory', the answer must say the program is there to be run/executed; saying only that it is 'stored in memory' earns no mark.

Do not accept 'a program'/'a set of instructions' on its own as a full definition; it earns the first mark only.

Do not accept a program stored on secondary storage/a hard disk that is not running.

Do not accept a description of the CPU or the fetch-decode-execute cycle.

Do not accept 'a thread' as a definition of a process.

Example answers and how they were marked
Full marks2/2

A process is a program that is being executed by the CPU.

Why: Gave a program/set of instructions (1) and said that it is being run/executed (1).

Some marks1/2

A process is a set of instructions held in RAM.

Why: Gave a program/set of instructions (1), but 'held in RAM' does not say the program is there to be run, so the second mark is not awarded.

No marks0/2

A process is the part of the CPU that carries out the fetch-decode-execute cycle.

Why: No creditworthy point: this describes the CPU and the fetch-decode-execute cycle, which the mark scheme does not accept.

5Short recall2 marks

An operating system manages processes.

Give two actions the operating system takes to manage a process.

[2 marks]
Mark scheme

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

  • Creates one or more process(es) (1)
  • Moves/loads the program instructions into RAM, so that the process is ready (1)
  • Schedules the process/decides when it will next run on the CPU (1)
  • Allocates CPU time/a time slice to the process (1)
  • Sets the process state to ready/places the process in the ready queue (1)
  • Allocates resources, such as memory or a peripheral, to the process (1)

Allow 'program' instead of 'process'.

Each mark must be for a different action: do not award both 'schedules the process' and 'sets the state to ready/ready queue' for one description of deciding when the process will run.

Do not award the 'allocates resources' point for a statement that has already earned the 'creates a process' point, e.g. 'allocates memory to create the process'.

Do not accept 'opens the program' or 'the program runs', as these repeat the question.

Do not accept storing the program on the hard drive, as this is file management.

Do not accept a description of the fetch-decode-execute cycle or of multitasking on its own, as neither names an action the operating system takes.

Example answers and how they were marked
Full marks2/2

It creates a process and moves the program instructions into RAM so that the process is ready.

Why: Creating a process (1) and moving the program instructions into RAM (1), two different actions.

Some marks1/2

It places the process in the ready queue and schedules it to run next.

Why: Only one action is described: the ready queue and scheduling points may not both be awarded for deciding when the process will run (1).

No marks0/2

It uses multitasking so the program can run at the same time as other programs.

Why: Multitasking on its own names no action the operating system takes, and 'the program runs' repeats the question.

6Short recall2 marks

An operating system can manage many processes.

Define the term multitasking.

[2 marks]
Mark scheme

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

  • The operating system manages/runs more than one process/task/program at the same time (1)
  • More than one process/task/program appears to run at the same time (1)
  • Each process/task/program is given a time slice of CPU time/a share of CPU time (1)
  • The operating system switches between processes/tasks/programs (1)
  • The operating system decides which process/task/program will run next (1)

Award a maximum of one mark for stating that more than one process/task/program is managed/run (or appears to run) at the same time.

Award a maximum of one mark for stating how CPU time is shared or switched between processes/tasks/programs.

Do not accept using more than one CPU/processor to run a single program.

Do not accept 'running many programs' on its own; it must say they are managed/run at the same time.

Example answers and how they were marked
Full marks2/2

Multitasking is when the operating system manages more than one process at the same time by giving each process a time slice of the CPU.

Why: Said more than one process is managed at the same time (1) and that each process gets a time slice of CPU time (1).

Some marks1/2

Multitasking is running more than one program at the same time.

Why: Said more than one program runs at the same time (1), but did not explain how CPU time is shared between them.

No marks0/2

Multitasking is using more than one CPU to run a single program faster.

Why: No creditworthy point: the mark scheme does not accept using more than one CPU/processor to run a single program.

7Describe2 marks

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.

8Describe2 marks

The operating system creates a process when a program is opened.

Describe what the operating system does when it creates a process.

[2 marks]
Mark scheme

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

  • Allocates memory/RAM to the process (1) so its instructions and data can be stored (1)
  • Loads/moves the program instructions into RAM (1) so the process is ready to run (1)
  • Adds the process to the ready queue (1) so it can be scheduled onto the CPU (1)
  • Gives the process a process ID (PID)/identifier (1) so the operating system can track/manage it (1)

For both marks, the development must follow/be linked to the point.

Only award one of the first two bullets in any one response; allocating memory and loading into RAM are the same stage.

Accept 'memory' for 'RAM' and vice versa.

Accept 'added to a queue for the processor' for the ready queue point.

Do not accept responses that say the process is run on the CPU straight away.

Do not accept descriptions of the program executing/running its instructions, or of the program file being created/saved.

Do not accept responses about the process being blocked or terminated.

Example answers and how they were marked
Full marks2/2

It allocates memory to the process so its instructions and data can be stored.

Why: Allocates memory to the process (1) linked to storing its instructions and data (1).

Some marks1/2

It loads the program into RAM.

Why: Gives the creditworthy point that the program instructions are loaded into RAM (1), but does not develop the point.

No marks0/2

It runs the program on the CPU straight away.

Why: A newly created process is not normally run immediately; it becomes ready. This is explicitly not accepted, so no marks.

9Describe2 marks

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.

10Explain2 marks

An operating system carries out process management.

Explain one reason why an operating system needs to manage processes.

[2 marks]
Mark scheme

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

  • The CPU can only execute one process at a time (1) so the operating system must decide which process runs next (1)
  • Each process needs CPU time (1) so the operating system must share the CPU between processes (1)
  • One process could use the CPU for too long (1) so the operating system must give other processes a turn (1)
  • A process may be waiting for a resource or user input (1) so the operating system can run another process that is ready (1)
  • The user wants to run more than one program (1) so the operating system must manage which process uses the CPU and when (1)

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

Allow 'program' for 'process'.

Do not accept 'to manage processes' / 'so processes are managed' without a reason.

Do not accept answers about managing files, memory or peripherals.

Example answers and how they were marked
Full marks2/2

The CPU can only run one process at a time, so the operating system must decide which process gets the CPU and for how long.

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

Some marks1/2

The operating system decides which process runs next.

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

No marks0/2

So that files can be saved in the right place.

Why: This is file management, not process management, so no creditworthy point.

11Explain2 marks

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.

12Explain2 marks

A user opens a web browser.

Explain what the operating system does to get the browser's process ready to run.

[2 marks]
Mark scheme

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

  • A process is created for the program (1) so that its instructions can be loaded into RAM (1)
  • The process is put into the ready state (1) so that it can wait for the CPU to become available (1)
  • The operating system adds the process to a queue of ready processes (1) so the scheduler can choose it when the CPU is free (1)
  • The operating system allocates the resources the process needs (1) so that it can start running when it is given CPU time (1)

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

Allow 'main memory' for RAM.

Do not accept 'the browser is downloaded/loaded from the internet'.

Do not accept 'the program is run immediately on the CPU' without the ready step.

Example answers and how they were marked
Full marks2/2

It creates a process and loads the browser's instructions into RAM, then puts the process in the ready state to wait for CPU time.

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

Some marks1/2

It moves the program into RAM.

Why: A correct point (1) but no linked reason about the process being made ready.

No marks0/2

It runs the program straight away on the CPU.

Why: This describes the running state, not making the process ready, so no credit.

Keep practising Process Management

More exam questions on 3.2 Software

Teachers: print these as a worksheet with the mark schemes at the end, and sign your school up to set your classes activities on Process Management.

Fetch Decode Explain isn't affiliated with or endorsed by Pearson Edexcel.