Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

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

10 questions · 17 marks

Pick again
Print
1Multiple choice1 markMemory Management Swap Remove

The operating system keeps a record of where each program and its data are stored in main memory.

Identify why the operating system does this.

[1 mark]
  • ATo make sure each program is given a higher priority than the others
  • BTo make sure each program is saved to secondary storage
  • CTo make sure existing programs and data are not overwritten
  • DTo make sure the CPU is not used by more than one process
Mark scheme
  • C To make sure existing programs and data are not overwritten (1)
  • The only correct answer is C. The correct answer is to make sure existing programs and data are not overwritten.
  • A is not correct because deciding which process runs next and for how long is not why the locations of programs in memory are recorded
  • B is not correct because a program is only moved to secondary storage when virtual memory is used
  • D is not correct because multi-tasking lets more than one process use the CPU in turn
Example answers and how they were marked
Full marks1/1

C To make sure existing programs and data are not overwritten

Why: Correct option: the OS keeps a record of where each program and its data are held so that new items are not stored over existing ones (1).

No marks0/1

B To make sure each program is saved to secondary storage

Why: Saving to secondary storage is not why memory locations are recorded; that only happens when virtual memory is used. Near-miss, no mark.

No marks0/1

A To make sure each program is given a higher priority than the others

Why: Confuses the record of memory locations with deciding the order in which processes run; no creditworthy point.

2Multiple choice1 markPurpose & Function of Operating Systems Swap Remove

An operating system manages the devices attached to a computer.

Identify the operating system function that manages the print queue.

[1 mark]
  • ADevice driver
  • BFile management
  • CPeripheral management
  • DProcess management
Mark scheme
  • C Peripheral management (1)
  • The only correct answer is C. The correct answer is peripheral management.
  • A is not correct because a device driver is a program that controls one type of peripheral device
  • B is not correct because file management names, saves, moves and deletes files
  • D is not correct because process management allocates time on the CPU to programs
Example answers and how they were marked
Full marks1/1

C Peripheral management

Why: Correct option: peripheral management holds data in the print queue until the printer is ready (1).

No marks0/1

A Device driver

Why: Near miss: a device driver is the program that controls one peripheral, not the operating system function that manages the queue (0).

No marks0/1

D Process management

Why: Misconception: process management shares out the CPU, not the data sent to a printer (0).

3Short recall1 markMemory Management Swap Remove

A user closes a program that has finished running.

State what the operating system does with the main memory that the program was using.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • It frees/releases the memory (1)
  • The memory is marked as available/empty so that another program can use it (1)
  • The program and its data are removed/deleted from main memory (1)

Allow 'the memory is cleared'.

Do not accept 'it deletes the program from the hard disk' (the program is stored in secondary storage and is not removed).

Example answers and how they were marked
Full marks1/1

It frees the memory so that another program can use it.

Why: Creditworthy point 'frees/releases the memory so another program can use it' (1).

No marks0/1

It saves the memory to the hard disk.

Why: Memory is not saved to the hard disk when a program closes; this is not freeing the memory, so no marks.

No marks0/1

It deletes the program from the hard disk.

Why: Given as a do-not-accept answer: closing a program does not delete it from secondary storage.

4Short recall2 marksPurpose & Function of Operating Systems Swap Remove

A home computer can have more than one user account.

Name two tasks carried out by the user 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:

  • Creating/deleting user accounts (1)
  • Storing usernames and passwords (1)
  • Checking login details/authenticating a user at login (1)
  • Setting access rights/permissions for each user, e.g. restricting which files/folders/programs/drives they can access (1)

Allow logging in as an example of checking login details.

Do not accept managing users on its own.

Do not accept provides a user interface, as this is not user management.

Do not accept managing files or managing processes, as these are other functions.

Do not accept stopping hackers/protecting from malware, as this is security, not user management.

Example answers and how they were marked
Full marks2/2

It stores usernames and passwords and sets access rights for each user.

Why: Storing usernames and passwords (1) and setting access rights (1) are two different user management tasks.

Some marks1/2

It checks the password at login and manages users.

Why: Checking a password at login earns (1); managing users repeats the question and earns nothing.

No marks0/2

It manages users and stops hackers accessing the computer.

Why: Managing users repeats the question; stopping hackers is security, not user management.

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

6Describe2 marksMemory Management Swap Remove

The operating system is held in main memory while the computer is running.

Describe how the operating system stops a running program from overwriting memory that is not its own.

[2 marks]
Mark scheme

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

  • It keeps a record of which memory addresses/areas belong to each program and to the operating system (1) so it knows which addresses a program is allowed to use (1)
  • Each program is given its own area of main memory (1) so a program cannot write to the addresses used by another program or by the operating system (1)
  • The memory used by the operating system is marked as protected/reserved (1) so a program that tries to write to it is blocked/causes an error (1)
  • The address a program writes to is checked against the record of its allocated area (1) and the write is stopped if the address is outside that area (1)

Allow the memory being protected to be that of the operating system or of another program.

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

Do not award generic answers such as 'the operating system manages memory' or 'the operating system keeps track of memory'.

Do not award responses about stopping programs using too much memory or allocating memory, as these are not about protecting memory being overwritten.

Do not award responses about virtual memory, paging or moving processes to secondary storage.

Do not award responses about firewalls, antivirus software or passwords.

Example answers and how they were marked
Full marks2/2

The operating system gives each program its own area of main memory so that a program cannot write to the addresses used by another program or by the operating system.

Why: Each program is given its own area of main memory (1) linked to it not being able to write to the addresses used by another program or the operating system (1).

Some marks1/2

The operating system gives each program its own area of main memory.

Why: Each program is given its own area of main memory (1), but there is no linked development saying how this stops a program overwriting memory that is not its own.

No marks0/2

The operating system stops a program overwriting memory by moving it into virtual memory when it uses too much.

Why: This describes virtual memory and limiting how much memory a program uses, not protecting memory from being overwritten, so neither bullet applies and the Do not award lines rule it out.

7Describe2 marksProcess Management Swap Remove

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 marksProcess Management Swap Remove

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 marksUser Management Swap Remove

A computer can be used by more than one person.

Describe how an operating system uses access rights to protect each user's files.

[2 marks]
Mark scheme

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

  • Each user/file is given permissions/access rights (1) so other users cannot read/write/open/change that user's files (1)
  • A user may be given read-only/read access to a file (1) so they cannot edit/delete/change it (1)
  • Each file is given permissions/access rights for different users (1) so the operating system allows/refuses access depending on which user is logged in (1)
  • The operating system checks a user's permissions/access rights when a file is opened (1) so a user with read-only/read access cannot save/delete changes (1)

Do not accept responses about asking for a password/username, as this checks who the user is, not what they are allowed to do.

Do not accept 'files are protected/safe' or 'access rights protect files' without saying how access is limited (e.g. read-only access, permissions for different users).

Example answers and how they were marked
Full marks2/2

A user can be given read-only access to a file, so they can open it but cannot edit or delete it.

Why: Read-only/read access point (1) and linked development that the user cannot edit/delete the file (1).

Some marks1/2

A user can be given read-only access to a file.

Why: Read-only/read access point (1); no development saying what this prevents, such as being unable to edit/delete the file (0).

No marks0/2

The operating system asks for the password again before the file opens.

Why: Describes asking for a password, which checks who the user is, not access rights to the file; no creditworthy point.

10Explain2 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 (1) so several programs can share the processor and appear to run at once (1).

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.

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.