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

4 questions · 8 marks

Pick again
Print
1Short recall2 marksPurpose & Function of Operating Systems Swap Remove

A computer can run more than one process at a time.

Give two tasks carried out by the process management function of an operating system.

[2 marks]
Mark scheme

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

  • Deciding which process runs next on the CPU/scheduling processes (1)
  • Allocating processor/CPU time to processes/allowing multitasking (1)
  • Managing the process life-cycle/process states (ready, running, blocked) (1)
  • Handling interrupts so a running process is suspended and another can run (1)
  • Stopping/terminating a process when it has finished (1)

Do not accept 'managing processes' on its own.

Do not accept 'handling interrupts' on its own.

Do not award two marks for the same task expressed twice, e.g. 'deciding which process runs next' and 'scheduling processes', or 'allocating CPU time' and 'giving each process a share of processor time'.

Do not accept 'managing memory/memory management', 'managing files/file management' or 'managing devices/peripherals' (these are other functions of an operating system).

Example answers and how they were marked
Full marks2/2

Deciding which process runs next on the CPU and stopping a process when it has finished.

Why: Scheduling a process (1) and terminating a process (1) are two different named tasks.

Some marks1/2

Deciding which process runs next and scheduling processes.

Why: Both points are the same task expressed twice, so only one mark is awarded under the guidance.

No marks0/2

Managing processes and managing files.

Why: 'Managing processes' repeats the question and earns nothing; 'managing files' is file management, not process management, so it is not credited.

2Describe2 marksMemory Management Swap Remove

A program is stored on secondary storage before it is run.

Describe how the operating system manages memory when a program is started.

[2 marks]
Mark scheme

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

  • The program (and its data) is copied/loaded from secondary storage into main memory/RAM (1) so that the CPU can fetch/execute its instructions (1)
  • An area of main memory is allocated/reserved for the program (1) that is large enough to hold the program and its data (1)
  • The operating system checks that there is enough free main memory (1) before the program can be started/loaded, otherwise it cannot run/an error is reported (1)
  • The operating system keeps a record of the memory addresses used by the program (1) so that its instructions and data can be found when it runs (1)

Allow 'loaded into RAM', 'stored in memory' and 'put into main memory' as equivalent to copied into main memory.

A single statement that the program is loaded/stored in main memory, with no linked development, can be given one mark only.

Do not accept descriptions of the CPU fetching/executing instructions that do not refer to the operating system loading or allocating memory.

Do not accept responses about virtual memory (moving processes to secondary storage) or about which process runs next on the CPU.

Do not accept the program being run from secondary storage/hard disk.

Example answers and how they were marked
Full marks2/2

The operating system copies the program and its data from secondary storage into main memory so that the CPU can fetch and execute its instructions.

Why: Copying the program and data into main memory (1) linked to the CPU fetching/executing instructions (1).

Some marks1/2

The operating system loads the program into main memory.

Why: The program is copied/loaded into main memory (1), but there is no linked development of how or what this leads to, so only one mark is given.

No marks0/2

The CPU fetches the program's instructions from main memory and executes them one at a time.

Why: This describes the fetch-decode-execute cycle, not the operating system loading or allocating memory, which is the Do not accept line; no creditworthy point is made.

3Describe2 marksPeripheral Management Swap Remove

A computer is connected to a new games controller.

Describe the purpose of a device driver.

[2 marks]
Mark scheme

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

  • A device driver is software/program (1) that controls a peripheral device (1)
  • It translates instructions from the operating system (1) into commands/signals the device understands (1)
  • It allows the operating system to communicate with a specific device (1) without needing to know the device's hardware details (1)
  • It is installed for a new device (1) so the operating system can use that device (1)

Do not accept responses that say a device driver is hardware or that it makes a device faster.

Do not award 'it is part of the CPU'.

Example answers and how they were marked
Full marks2/2

A device driver is a program that controls a peripheral device. It translates instructions from the operating system into commands the device understands.

Why: Gives the linked description: software/program (1) that controls a peripheral (1).

Some marks1/2

It translates instructions from the operating system.

Why: Gives the first point (1) but does not develop it into commands/signals the device understands.

No marks0/2

A device driver is a piece of hardware that connects the controller to the computer.

Why: No credit: says a device driver is hardware, which the mark scheme does not accept.

4Explain2 marksPurpose & Function of Operating Systems Swap Remove

A school has bought a new printer for one of its computers.

Explain one reason why an operating system needs peripheral management.

[2 marks]
Mark scheme

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

  • The operating system uses the printer's device driver to communicate with the printer (1) so the print job is sent as commands the printer can carry out (1)
  • The operating system holds print jobs in a queue/buffer (1) because the computer sends data faster than the printer can print it (1)
  • The operating system reports the printer's status to the user (1) so the user knows what to do when there is a problem such as the paper running out (1)
  • The operating system handles interrupts/signals from the printer (1) so a problem such as a paper jam is dealt with while other programs carry on running (1)

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

Allow a point about the operating system loading/installing the device driver for a new printer (1) provided the second mark gives a reason that is not the same as the driver communication point, e.g. so the new printer can be used/controlled by the operating system (1)

Award 1 mark for stating that print jobs are held in a queue/a buffer; the second mark needs the linked reason that the printer prints more slowly than data is sent.

Do not accept restating the question, e.g. 'it manages the printer' or 'it controls the peripherals', without saying how or why.

Do not accept 'it lets the printer connect to the computer' or 'it stops the printer being damaged' without a linked reason.

Do not accept 'it makes the printer print faster' as the operating system cannot increase the printer's speed.

Example answers and how they were marked
Full marks2/2

The operating system uses the printer's device driver to send the print job so the printer receives the data as commands it can understand.

Why: Linked point (1) and reason (1): device driver used to communicate, and the job is sent as commands the printer can carry out.

Some marks1/2

It puts print jobs into a queue.

Why: Point (1) only: the queue/buffer is named, but no linked reason (that the printer prints more slowly than data is sent) is given.

No marks0/2

It makes the printer print faster.

Why: Misconception named in the 'Do not accept' line: the operating system cannot increase the printer's speed, so there is no creditworthy point.

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.