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

Pick again
Print
1Multiple choice1 markMemory Management Swap Remove

A computer is running a web browser, a music player and a messaging app at the same time.

Identify what the operating system does when it allocates main memory to a process.

[1 mark]
  • AIt chooses an area of main memory that is not being used by another process
  • BIt chooses an area of main memory that is also used by the operating system
  • CIt chooses how many files the process is allowed to open at the same time
  • DIt chooses the user who is allowed to log on and start the process
Mark scheme
  • A It chooses an area of main memory that is not being used by another process (1)
  • The only correct answer is A. The correct answer is choosing an area of main memory that is not being used by another process.
  • B is not correct because the operating system keeps its own area of main memory and does not give it to a process
  • C is not correct because the number of files a process can open is part of file management, not memory management
  • D is not correct because user management controls who can log on and what each user is allowed to access
Example answers and how they were marked
Full marks1/1

A It chooses an area of main memory that is not being used by another process

Why: Correct option: as part of process management the operating system allocates each process an area of main memory that no other process is using (1).

No marks0/1

C It chooses how many files the process is allowed to open at the same time

Why: Near-miss: this is file management, not how main memory is allocated to a process, so no mark.

No marks0/1

B It chooses an area of main memory that is also used by the operating system

Why: Misconception: the operating system keeps its own area of main memory and does not give it to a process, so no mark.

2Short recall1 markSoftware Basics Swap Remove

A hard disk drive stores files in pieces in different places on the disk, so the files take longer to open.

Name the utility software that can be used to improve this.

[1 mark]
Mark scheme

Award one mark for:

  • Disk defragmentation (software) (1)

Allow defragmentation software, defragmenter, defrag.

Do not accept disk cleanup, disk formatter, file repair software or backup software.

Example answers and how they were marked
Full marks1/1

Disk defragmentation software.

Why: Names the correct utility software (1).

No marks0/1

Disk cleanup software.

Why: Disk cleanup is a near-miss: it is not the utility that rearranges files stored in pieces, so no mark is awarded.

No marks0/1

File repair software.

Why: File repair fixes damaged files and does not bring the pieces of a file back together, so no mark is awarded.

3Short recall2 marksFile Management Swap Remove

An operating system provides file management.

Define the term file management.

[2 marks]
Mark scheme

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

  • The part/function of the operating system (1)
  • That manages/organises files (and folders) (1)
  • On a storage device/disk (1)
  • So files can be stored/found/retrieved (1)

Do not accept managing processes/peripherals/users as the whole definition.

Example answers and how they were marked
Full marks2/2

The function of the operating system that organises files and folders on a disk so they can be found and retrieved.

Why: Names the operating system function (1) and managing/organising files on a disk so they can be retrieved (1).

Some marks1/2

Organising files.

Why: Names managing/organising files (1), but does not name the operating system, storage location or retrieval.

No marks0/2

Managing the CPU and peripherals.

Why: Describes process and peripheral management, not file management.

4Describe2 marksPeripheral Management Swap Remove

A student uses a graphics tablet connected to a computer to draw in a program.

Describe how the operating system passes input from the graphics tablet to the program.

[2 marks]
Mark scheme

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

  • The operating system receives signals/data from the graphics tablet (1) and converts them into data the program can use/process (1)
  • The operating system receives data from the graphics tablet (1) and passes/forwards it to the program being used/the active program (1)
  • The tablet's device driver receives/interprets the signals/data from the tablet (1) so the operating system can pass the input to the program (1)
  • The operating system identifies the graphics tablet as the source of the input (1) so the data is sent to the correct program (1)

Accept 'signals' for 'data' throughout.

Accept reference to the device driver only where it is linked to receiving/interpreting the input (e.g. the driver receives the tablet's signals (1) so the OS can pass data to the program (1)).

Do not accept 'the operating system uses a driver' on its own, without saying what the driver does with the input.

Do not accept generic statements such as 'the operating system runs the tablet' as a description of how input is managed.

Do not accept responses that say the operating system creates/finishes the drawing, or that the tablet stores the input permanently.

Example answers and how they were marked
Full marks2/2

The operating system receives signals from the graphics tablet and passes the data to the program.

Why: Receives signals/data from the tablet (1) and passes the data to the active program (1).

Some marks1/2

The operating system receives signals from the graphics tablet.

Why: Gives the first half of a linked description (1): it receives signals, but does not say what happens to the input.

No marks0/2

The operating system uses a device driver to control the graphics tablet and stores the input.

Why: Only says the OS uses a driver to control the tablet and that input is stored; it does not describe the driver receiving/interpreting the input or the input being passed to the program, so no linked point is credited. The mark scheme rejects 'uses a driver' on its own.

5Describe2 marksUtility Software Swap Remove

A computer can lose power while a file is being saved.

Describe what file repair software does.

[2 marks]
Mark scheme

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

  • Attempts to repair/rebuild the corrupted file (1) so that it can be opened by its program again (1)
  • Recovers/retrieves the parts of the file that can still be read (1) so that the user does not lose all of the data in the file (1)
  • Reconstructs the file from data held in other parts of the disk (1) because part of the file/the disk is corrupted (1)
  • Saves a new/repaired copy of the file (1) as some of the data in it may not be recoverable (1)

Do not accept 'it repairs the file' on its own, as this repeats the question.

Do not accept responses about restoring a backup/previous version of the file, as this is backup software.

Do not accept responses about scanning for or removing malware.

Example answers and how they were marked
Full marks2/2

It recovers the parts of the file that can still be read (1) so that the user does not lose everything that was saved in it (1).

Why: The point (1) and a linked development giving the effect (1).

Some marks1/2

It rebuilds the damaged file from other parts of the disk.

Why: A valid point is made (1) but there is no development of what this achieves, so the second mark is not awarded.

No marks0/2

It restores the last backup of the file so the user gets the data back.

Why: This describes backup software, which the mark scheme does not accept for this question.

6Explain2 marksMemory Management Swap Remove

A program is stored on secondary storage before it is run.

Explain one reason why the operating system must copy the program into main memory before it can be run.

[2 marks]
Mark scheme

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

  • The CPU can only fetch/execute instructions held in main memory (1) because it cannot access secondary storage directly (1)
  • The program's instructions are copied into RAM/main memory (1) so the CPU can read/fetch them (1)
  • Main memory is faster to access than secondary storage (1) so the CPU does not have to wait for the program's instructions to be read from secondary storage (1)
  • The program's data is copied into main memory (1) so the CPU can access it directly while the program runs (1)

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

A statement of location on its own, e.g. 'the program needs to be in RAM' / 'the program is copied into main memory', earns the first mark only; a reason linked to the CPU fetching or accessing it is needed for the second mark.

Do not accept 'so the program can run', 'so the program can be loaded/started' or 'so it is in memory' on its own without saying that the CPU can access/fetch it from main memory.

Do not accept 'quickly' on its own as the reason; accept it only when linked to the CPU accessing the data/instructions directly or faster than secondary storage.

Do not accept 'to store the program permanently', 'to save the program' or 'so it is not lost when the computer is switched off' as main memory is volatile.

Example answers and how they were marked
Full marks2/2

The CPU can only fetch and execute instructions that are in main memory, and it cannot access secondary storage directly.

Why: Linked point (1) that instructions must be in main memory and reason (1) that the CPU cannot access secondary storage directly.

Some marks1/2

The program's instructions need to be in RAM.

Why: Statement of location (1) but no linked reason saying why the CPU needs them there.

No marks0/2

So the program is saved in main memory and is not lost when the computer is switched off.

Why: No creditworthy point; it wrongly treats main memory as permanent storage, which the 'do not accept' guidance rules out.

7Explain2 marksSoftware Basics Swap Remove

A user backs up files using data compression software.

Explain one benefit of using data compression software.

[2 marks]
Mark scheme

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

  • Files take up less storage space (1) because compression stores the data using fewer bits/removes redundant or unnecessary data (1)
  • Files can be transferred/downloaded faster (1) because there is less data to send over a network (1)
  • More files fit on a storage device (1) because each file is smaller (1)
  • Email attachments can be sent without exceeding attachment size limits (1) because compression reduces the size of the file (1)

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

Do not accept 'it makes files smaller' on its own without a named benefit such as using less storage space or faster transfer; this repeats the question.

Do not accept 'compression frees up space by deleting files' as compression does not delete the original file.

Do not accept answers about disk defragmentation as this is a different utility.

Example answers and how they were marked
Full marks2/2

Files take up less storage space because compression stores the data using fewer bits.

Why: Point (1) for less storage space and linked reason (1) because the data is stored using fewer bits.

Some marks1/2

Files take up less storage space.

Why: Point (1) for the benefit of less storage space; no linked reason.

No marks0/2

It frees up space by deleting files that are not needed.

Why: Describes compression deleting files, which the mark scheme rejects; no credit.

8Discuss6 marksPeripheral Management Swap Remove

A design studio buys 30 new graphics tablets for its artists. The tablets are a new model that the studio's computers have not used before. The studio's computers already have drivers installed for the older tablets the artists use. Each artist connects a tablet to a computer running the same operating system.

Discuss the role of device drivers when the new graphics tablets are connected to the studio's computers.

Your answer should include:

  • what a device driver is and how the operating system uses it
  • why each peripheral needs its own driver
  • what must be done before an artist can use a new tablet.
[6 marks]
Mark scheme

Indicative content

What a device driver is and how the operating system uses it

  • A device driver is a program that controls a peripheral device such as a graphics tablet by communicating with the operating system.
  • The driver translates instructions from the operating system into signals that the graphics tablet understands, and passes the artist's pen movements back to the operating system.
  • The operating system loads the driver into memory when the tablet is connected, so that it can then send data to the tablet and receive input from it.
  • Without a driver the operating system cannot control the tablet, so the tablet does not work.

Why each peripheral needs its own driver

  • Every make and model of peripheral uses its own set of commands, so a driver is written for that particular device.
  • The drivers already installed for the studio's older tablets do not work with the new model, even though both are graphics tablets.
  • An operating system includes drivers for many common devices, but it does not have one for a brand new model.
  • The correct driver means the pen movements are received by the computer in the form the drawing program expects.

What must be done before an artist can use a new tablet

  • The new tablet is supplied with its driver on a disc or as a download, and it must be installed on each computer.
  • The operating system may need to be updated so that it recognises the new model.
  • The driver must be enabled or selected for the tablet once it is installed.
  • Drivers are updated later to fix faults or to improve performance.
  • If the correct driver is not installed, the tablet does not work or some of its features are not available.

Additional guidance

  • Level 3 responses must explain why a driver is specific to a device and what must be done before an artist can use a new tablet, as well as describing what a driver is, all applied to the studio.
  • Responses that only state what a driver is, or that state a driver must be installed without explaining why the tablet needs its own driver, are limited to Level 1.
  • Accept 'software', 'program' or 'set of instructions' for a driver.
  • Do not accept a device driver described only as a cable or a physical connection.
  • Do not accept the claim that all drivers are already built into the operating system, or that one driver works for every graphics tablet.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)
Example answers and how they were marked
Full marks6/6

A device driver is software that lets the operating system communicate with a peripheral such as a graphics tablet. When an artist connects a tablet, the operating system loads the driver into memory so that it can send instructions to the tablet and receive the pen movements back. Each make and model of tablet has its own set of commands, so the drivers already installed for the studio's older tablets will not work with the new model, and the operating system will not have a driver built in for a brand new device. Because the tablets are a new model, the supplier provides a driver on a disc or as a download, and it must be installed on every computer before an artist can use a tablet. The studio may also need to update the operating system so that it recognises the new model, and install updated drivers later if faults are found. If the correct driver is not installed, the operating system cannot control the tablet, so the pen will not work.

Why: Level 3: defines a driver and explains the operating system's role in loading and using it (AO1), explains why the driver is specific to the make and model and applies this to the studio's older tablets (AO1/AO2), and gives the installation, operating system update, later driver updates and the consequence of a missing driver, all applied to the studio in a sustained line of reasoning.

Some marks2/6

A device driver is a program that controls the graphics tablet. The new tablets are a different model, so the computers may not have the right driver. The studio needs to install the driver that comes with the tablet before the artist can use it.

Why: Level 1 upper: a basic definition, a brief unexplained point that the new model may not have the right driver, and the point that the supplied driver must be installed. Nothing explains why a driver is specific to a device (different commands, make and model) or how the operating system uses the driver, so the points stay independent with little linkage and are limited to Level 1 by the guidance.

Some marks1/6

A device driver is a program that makes the tablet work. All drivers are already built into the operating system, so the studio does not need to install anything for the new tablets.

Why: 1 mark: a basic statement that a driver is a program that controls the device. The claim that all drivers are already built in is a misconception named in the do-not-accept guidance, so it gains no credit for what must happen before the new tablets can be used.

9Discuss6 marksPurpose & Function of Operating Systems Swap Remove

A photography business stores thousands of image files on one computer. Several employees use the computer to view and edit the images.

Discuss how the operating system manages the business's image files and the employees who use them.

Your answer should consider:

  • how files and folders are organised
  • how files are named and saved
  • how access to files is controlled for the employees
[6 marks]
Mark scheme

Indicative content

How files and folders are organised

  • The operating system creates a folder structure, so the business can keep each client's or event's photographs together.
  • The operating system allocates each image file to a folder and records its file path, so the image can be located again.
  • The operating system can move, copy and delete files and folders, so staff can remove unwanted images and keep the disk tidy.
  • The operating system records file attributes such as size, type and date, so staff can sort and identify images.
  • A folder structure that is not used consistently can make images slow to find, because files may be saved in the wrong client folder.

How files are named and saved

  • The operating system lets an employee choose a file name and extension, so an image can be identified and opened by the correct application.
  • The operating system saves a file to the folder the employee chooses, so a new image is stored with the correct client.
  • The operating system checks whether a file with the same name already exists and warns the employee before it is overwritten, so original photographs are not lost.
  • The operating system stores the file path with the file, so the business can retrieve the image later.
  • If employees choose inconsistent file names, images can be difficult to identify when the business needs them.

How access to files is controlled for the employees

  • The operating system stores user accounts and passwords, so each employee must log in before opening client images.
  • The operating system sets access rights, so some employees can view images but not edit or delete them, which protects original photographs.
  • An administrator account can change access rights, so the business can decide who may delete or edit client files.
  • If employees share passwords, access rights are not effective, so images could be changed or deleted by the wrong person.
  • If access rights are too restrictive, employees may be unable to do their work, so the business must set them carefully.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Additional guidance

  • Accept file extensions, file paths, file attributes, directory/folder structure, read-only access, read/write access, administrator and user accounts. Do not accept 'the OS controls/organises files' without a named task, or memory management, process management or peripheral management as file management.
  • Level 3 responses must cover all three bullets, with at least one benefit or drawback applied to the business and a judgement. A list of features with no application is limited to Level 1; Level 2 requires at least two bullets covered with some linkage to the business.
Example answers and how they were marked
Full marks6/6

The operating system creates a folder structure, so the business can keep each client's photographs together and staff can find a wedding's images in one place. It lets employees name each image and save it to the correct folder, and it warns before overwriting a file with the same name, so original photographs are protected. Because several employees use the computer, the OS also stores user accounts and passwords: an employee can be given read-only access to client images, so they can view but not delete them, while a manager can edit them. However, if staff share passwords or save files in the wrong folder, the access rights and folder structure become ineffective and images can be lost or hard to find. Overall, the file management helps the business store and retrieve images reliably, but it only works if staff follow consistent naming and folder rules.

Why: Covers all three bullets: folder structure and file paths (organised); naming, saving and overwrite warning (named and saved); user accounts, read-only access and administrator rights (access controlled). Adds a drawback (shared passwords, inconsistent folders) and a judgement, so Level 3 (6).

Some marks4/6

The OS creates folders so each client's photographs can be stored together. It lets staff name and save each image in the correct folder, and it warns before overwriting an existing file, which protects earlier work. However, if staff do not use the folders consistently, images can be saved in the wrong place and become difficult to find.

Why: Covers two bullets (organisation and naming/saving) with linkage to the photography business and a drawback; no access-control point, so Level 2 (4).

No marks0/6

The operating system manages the files by controlling the CPU and RAM so that images open quickly.

Why: Describes process/memory management, not file management. The scheme's guidance says this is not accepted, so Level 0 (0).

10Discuss6 marksPurpose & Function of Operating Systems Swap Remove

A home computer is used to stream music, edit a video and download files at the same time.

Discuss how the operating system manages the processes running on the computer.

Your answer should include:

  • how the CPU is shared between processes
  • the states a process can be in
  • how the operating system responds when a process needs attention
[6 marks]
Mark scheme

Indicative content

How the CPU is shared between processes

  • The operating system uses multitasking to give each process a short time slice on the CPU, so the music, video editor and download appear to run at the same time.
  • The operating system decides which ready process will run next, so one program cannot keep the CPU to itself.
  • The operating system can stop a running process and move it back to ready when its time slice ends, so all processes make progress.

The states a process can be in

  • When a program is opened, the operating system creates a process and moves its instructions into RAM so it is ready.
  • The operating system moves a ready process to running when the CPU is free.
  • A running process becomes blocked when it is waiting for input or data, such as the download waiting for data to arrive.
  • When the process finishes, the operating system terminates it and releases the resources it was using.

How the operating system responds when a process needs attention

  • An interrupt is a signal to the CPU that needs immediate attention, so the operating system suspends the current process and runs the interrupt handler.
  • A hardware interrupt could be a printer out of paper, and a software interrupt could be an error in a program.
  • After the interrupt has been handled, the operating system can return the interrupted process to the CPU.

Levels

  • Level 0 (0 marks): No rewardable content.
  • Level 1 (1–2 marks): Basic, independent points are made, showing elements of understanding of key concepts/principles of computer science. (AO1) The discussion will contain basic information with little linkage between points made or application to the context. (AO2)
  • Level 2 (3–4 marks): Demonstrates adequate understanding of key concepts/principles of computer science. (AO1) The discussion shows some linkages and lines of reasoning with some structure and application to the context. (AO2)
  • Level 3 (5–6 marks): Demonstrates comprehensive understanding of key concepts/principles of computer science to support the discussion being presented. (AO1) The discussion is well developed, with sustained lines of reasoning that are coherent and logically structured, and which clearly apply to the context. (AO2)

Additional guidance

  • Level 3 responses must cover at least two of scheduling, process states and interrupts.
  • A response that only states that the OS 'manages processes' or gives a program a turn, without expansion, is limited to Level 1.
Example answers and how they were marked
Full marks6/6

The OS uses multitasking to share the CPU. It gives each process, such as the music player and the video editor, a small time slice so they appear to run at the same time. It decides which ready process is next and how long it runs. When the video editor is opened, the OS creates a process and moves its instructions into RAM so it is ready; when the CPU is free it moves it to running. If the download is waiting for data, the OS marks it blocked so the CPU is not wasted. If the printer runs out of paper, a hardware interrupt tells the CPU to stop and run the interrupt handler; afterwards the OS returns to the process.

Why: Covers scheduling with time slices, process states (ready, running, blocked) and interrupts, with sustained application to the music, video editor and download. Level 3.

Some marks4/6

The operating system uses multitasking so the music and video editor can run at the same time. It gives each program a small amount of time on the CPU. When a program is opened it creates a process and puts it in RAM. If a process is waiting for input it is blocked.

Why: Covers CPU sharing and process states, with some application, but says nothing about interrupts. Level 2.

Some marks1/6

The operating system manages processes by giving each program a turn on the CPU. This stops the computer crashing when too many programs are open.

Why: Gives only a basic, undeveloped point about giving each program a turn, with no linkage or application. Level 1.

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.