Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 631 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 marksPurpose & Function of Operating Systems Swap Remove

A computer with a single processor can run more than one program at the same time.

Describe how the operating system manages processes.

[2 marks]
Mark scheme

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

  • Gives each process a share/a small amount (time slice) of the CPU time (1) so that several processes can run and appear to run at the same time (1)
  • Decides which process will use the CPU next, e.g. by priority (1) so that the most important process is run first (1)
  • Keeps track of the state of each process (ready/running/blocked) (1) so that each process is moved to the state it needs to be in (1)
  • Moves a process that is waiting for input/a resource (e.g. a printer) to blocked (1) so that another process can use the CPU (1)

Do not award a mark for stating only that the operating system runs/controls the programs.

Do not award a mark for describing multitasking in general, e.g. 'the operating system runs more than one program at once', without saying how the operating system manages the processes.

Do not accept responses about memory management (e.g. loading a program into RAM), the user interface or user management.

Accept 'processor' for CPU.

Example answers and how they were marked
Full marks2/2

The operating system gives each process a small amount of time to use the CPU so that lots of processes can run and it looks like they are running at the same time

Why: Linked point (1) - a small amount/time slice of CPU time for each process - and development (1) - so several processes can run at once.

Some marks1/2

The operating system decides which process will use the CPU next.

Why: Gives the point that the operating system chooses the next process (1) but no linked development about priority or the effect of this.

No marks0/2

The operating system runs the program on the CPU.

Why: Only states that the operating system runs programs, which the mark scheme says is not awarded, so nothing is credited.

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.