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 · 5 marks

Pick again
Print
1Short recall2 marksMemory Management Swap Remove

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

State two reasons why the operating system needs this record.

[2 marks]
Mark scheme

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

  • So that it does not overwrite/use memory that is already being used by another program (1)
  • So that it can find the program/data again when the program needs it (1)
  • So that it knows which memory locations are free/can be allocated to a new program (1)
  • So that it can keep the data used by each program separate from other programs (1)
  • So that it can free the memory when the program is closed/knows which memory to release (1)

Do not accept 'so the program runs faster'.

Do not accept 'so that the program is not lost when the power is turned off' (this is about saving files to secondary storage, not main memory).

Example answers and how they were marked
Full marks2/2

So that the operating system does not put a new program on top of memory that another program is already using, and so that it can find the data again when the program needs it.

Why: Creditworthy point 'does not overwrite memory used by another program' (1) and 'find the program/data again when needed' (1).

Some marks1/2

It knows where the program is so it can find it again when it needs to run it.

Why: Creditworthy point 'find the program/data again when it is needed' (1); no second reason given.

No marks0/2

So that the program is not lost when the computer is switched off.

Why: This is about saving to secondary storage, not about a record of main memory locations; not a creditworthy reason, so no marks.

2Short recall1 markUtility Software Swap Remove

A file may become corrupted and cannot be opened.

State the purpose of file repair software.

[1 mark]
Mark scheme

Award one mark for any of the following:

  • To repair/recover corrupted/damaged files so they can be opened/used again (1)
  • To recover as much of the data as possible from a damaged file (1)
  • To reconstruct parts of a damaged file (1)

Allow "to fix corrupted files".

Do not accept "to repair the hard disk" (disk repair).

Do not accept "to recover deleted files" (file repair recovers corrupted/damaged files, not deleted ones).

Example answers and how they were marked
Full marks1/1

To repair corrupted files so they can be opened again.

Why: Repair corrupted files so they can be used again (1).

No marks0/1

To repair the hard disk.

Why: Hard disk repair is not file repair; the scheme says not to accept it.

No marks0/1

To recover files that have been deleted.

Why: Recovering deleted files is not file repair; the scheme says not to accept it.

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

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.