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

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

3Explain2 marksProcess Management Swap Remove

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.

4Explain2 marksPurpose & Function of Operating Systems Swap Remove

A computer stores many files on its hard drive.

Explain one reason why an operating system needs file management.

[2 marks]
Mark scheme

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

  • The operating system keeps a record of where each file is stored (1) so files can be found/retrieved later (1)
  • The operating system keeps files in separate storage locations (1) so files are not overwritten/lost (1)
  • The operating system allocates files to folders/directories (1) so it can keep track of the files stored on the disk (1)
  • The operating system deletes/moves files (1) so storage space is freed/reused (1)

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

Do not accept 'it manages files'/'it organises files' without expansion as to what is managed or organised.

Do not accept 'so files are managed/organised' as the linked reason.

Do not accept 'so the computer works' as the linked reason.

Example answers and how they were marked
Full marks2/2

The operating system keeps a record of where each file is stored on the disk, so a program can find and open the file later.

Why: Linked point (1) and reason (1): record of file location and retrieval.

Some marks1/2

The operating system keeps a record of where each file is stored.

Why: Point (1) only; no linked reason given.

No marks0/2

The operating system manages the files so the files are managed.

Why: Repeats the question ('manages files') and the expansion restates the point ('so the files are managed'); no creditworthy point under the Do not accept lines.

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.