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

2Describe2 marksMemory Management Swap Remove

An operating system keeps a record of the memory it has allocated to each program.

Describe how this record is used.

[2 marks]
Mark scheme

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

  • The start and end address/size of the block allocated to each program is recorded (1) so the operating system knows which areas of main memory are in use and which are free (1)
  • The record is checked before memory is allocated (1) so memory already in use is not given to another program/is not overwritten (1)
  • The record is searched for a free block that is large enough (1) so a newly loaded program is placed in a suitable area of main memory (1)
  • The record is updated when a program ends/closes (1) so the memory it was using is marked as free for other programs (1)

Allow the record to be called a memory map/memory table/allocation table.

A response that only says the operating system keeps a record/list of the memory each program is using, without saying what the record contains, earns 0 marks.

A response that states what the record contains, e.g. the addresses/the start and end address of each block, earns 1 mark even if it does not say how the record is used.

Do not accept responses about saving programs/files to secondary storage or about moving programs to virtual memory, as these are not uses of this record.

Example answers and how they were marked
Full marks2/2

The operating system records the start and end address of the block of memory given to each program so that it does not give the same memory to another program.

Why: The start and end address of each block is recorded (1) linked to memory already in use not being given to another program (1).

Some marks1/2

The operating system records the start and end address of the memory used by each program.

Why: States what the record contains (1), but does not develop how the record is used, so the second mark is not earned.

No marks0/2

The operating system saves the programs to the hard disk so there is enough memory for other programs.

Why: Describes moving programs to secondary storage rather than how the record of allocated memory is used; no creditworthy point is made.

3Explain2 marksPeripheral Management Swap Remove

An operating system manages the peripherals connected to a computer.

Explain one reason why an operating system needs to manage peripheral devices.

[2 marks]
Mark scheme

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

  • Data is sent to/received from the correct peripheral (1) because the operating system controls the transfer of data between the computer and each device (1)
  • A new peripheral can be used as soon as it is connected (1) because the operating system installs/loads the correct device driver for that device (1)
  • Data can be sent to a slow peripheral such as a printer (1) because the operating system stores it in a buffer/print queue until the device is ready to receive it (1)
  • The user is told when a peripheral has a problem (1) because the operating system receives status information from the device and reports the error to the user (1)

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

Allow specific peripherals as the example (e.g. a mouse, a printer) provided the reason says what the operating system does.

Allow 'the operating system responds to an interrupt from a device' as a point, with the reason that the device is signalling that it needs attention/has finished its job.

Do not accept 'the operating system manages/controls the peripherals' or 'it lets the devices be used'/'the peripherals work correctly' on their own, as these repeat the question without saying what the operating system does.

Example answers and how they were marked
Full marks2/2

So that data is sent to the correct peripheral because the operating system controls the transfer of data between the computer and each device.

Why: Linked point (1) and reason (1).

Some marks1/2

So that data is sent to the correct device.

Why: Point (1) but no linked reason, so the second mark is not awarded.

No marks0/2

Because the operating system manages the peripherals.

Why: Rewords the question; the 'Do not accept' line says this earns nothing without saying what the operating system does.

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.