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

3 questions · 6 marks

Pick again
Print
1Describe2 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.

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

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