Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 687 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

A user closes a program that is running on a computer.

Describe how the operating system manages the main memory that the program was using.

[2 marks]
Mark scheme

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

  • The memory (that was) used by the program is freed/released/marked as free (1) so it can be allocated/reused by another program/process (1)
  • The operating system's memory allocation table/record (of memory in use) is updated (1) to show that the program's memory locations/blocks are now free/available (1)
  • The program's instructions/data are removed/overwritten in main memory (1) so the space they used is no longer reserved for that program (1)
  • The memory pages/blocks allocated to the program are returned to the list of free pages/blocks (1) that can be used when the next program is loaded (1)

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

Do not award two marks for the same idea described twice (e.g. the memory is freed and added to a list of free blocks); the two marks must come from two different linked descriptions.

Do not accept responses about closing the program window, stopping/terminating the program/process, saving the file or deleting the program from secondary storage/the hard disk.

Ignore statements that main memory is 'managed'/'cleaned up' with no development.

Example answers and how they were marked
Full marks2/2

The operating system updates its memory allocation table to show that the memory locations the program was using are now free, so another program can be loaded into them.

Why: The memory allocation table/record is updated (1) linked to showing the program's memory locations are now free/available (1).

Some marks1/2

The operating system frees up the memory the program was using.

Why: The memory used by the program is freed/released (1), but there is no linked development of what this allows.

No marks0/2

The operating system deletes the program from the hard disk to free up memory.

Why: This confuses main memory with secondary storage; deleting the program from secondary storage is named in the 'Do not accept' line, so no creditworthy point is made.

2Explain2 marksPurpose & Function of Operating Systems Swap Remove

A computer can appear to run several programs at the same time.

Explain one reason why an operating system schedules the processes running on a computer.

[2 marks]
Mark scheme

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

  • The operating system decides which process will use the CPU next (1) so the processor is shared between processes/processes take turns (1)
  • The operating system allocates CPU time to each process/gives each process a small amount of time on the CPU (1) so multitasking can take place/several programs can appear to run at once (1)
  • The operating system manages the state of each process, e.g. ready/running/blocked (1) so a process waiting for input/blocked does not stop other processes running (1)
  • The operating system can terminate/end a process that has stopped responding (1) so it does not affect other processes/the computer keeps working (1)

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

Do not accept the idea that the CPU runs two or more processes at exactly the same time; multitasking shares CPU time.

Do not accept 'the OS shares the CPU' on its own without saying how/why, e.g. giving each process a turn/CPU time.

Do not accept 'it stops programs crashing' without a link to process management, e.g. ending a process that has stopped responding.

Do not accept 'it manages processes' without saying what the operating system does.

Example answers and how they were marked
Full marks2/2

It decides which process will run on the CPU next so several programs can share the processor and appear to run at once.

Why: Linked point (1) and reason (1): CPU scheduling and shared processor.

Some marks1/2

It gives each program a small amount of time on the CPU.

Why: Point (1) only; it does not give a linked reason such as allowing multitasking.

No marks0/2

The CPU runs all the programs at exactly the same time.

Why: Misconception: the CPU does not run processes at exactly the same time; no creditworthy point.

3Explain2 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.