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

10 questions · 32 marks

Pick again
Print
1Short recall2 marksProcess Management Swap Remove

An operating system is responsible for process management.

Define the term process.

[2 marks]
Mark scheme

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

  • A program/set of instructions (1)
  • That is being run/executed (1)
  • That has been loaded into RAM/main memory to be run (1)
  • That the operating system manages/schedules (1)

Allow 'task' as a synonym for process.

Accept 'executed by the CPU'; naming the CPU is not required.

For 'loaded into RAM/main memory', the answer must say the program is there to be run/executed; saying only that it is 'stored in memory' earns no mark.

Do not accept 'a program'/'a set of instructions' on its own as a full definition; it earns the first mark only.

Do not accept a program stored on secondary storage/a hard disk that is not running.

Do not accept a description of the CPU or the fetch-decode-execute cycle.

Do not accept 'a thread' as a definition of a process.

Example answers and how they were marked
Full marks2/2

A process is a program that is being executed by the CPU.

Why: Gave a program/set of instructions (1) and said that it is being run/executed (1).

Some marks1/2

A process is a set of instructions held in RAM.

Why: Gave a program/set of instructions (1), but 'held in RAM' does not say the program is there to be run, so the second mark is not awarded.

No marks0/2

A process is the part of the CPU that carries out the fetch-decode-execute cycle.

Why: No creditworthy point: this describes the CPU and the fetch-decode-execute cycle, which the mark scheme does not accept.

2Short recall2 marksSoftware Basics Swap Remove

Every computer system needs an operating system.

State two functions of an operating system.

[2 marks]
Mark scheme

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

  • File management (1)
  • Process management (1)
  • Peripheral management (1)
  • User management (1)

Allow 'managing files', 'managing processes', 'managing peripherals', 'managing users'.

Do not accept examples of utility software, such as anti-malware, backup or defragmentation, as these are not functions of the operating system.

Do not accept 'runs/loads the programs' on its own.

Example answers and how they were marked
Full marks2/2

File management and process management.

Why: Two creditworthy functions from the list, one mark each (1) + (1).

Some marks1/2

It does file management and it loads the programs that the user wants to run.

Why: File management earns one mark (1); 'loads the programs' is not one of the listed functions, so no second mark.

No marks0/2

Anti-malware and backup.

Why: These are examples of utility software, not functions of the operating system, so no mark is awarded.

3Short recall2 marksUtility Software Swap Remove

Compression software is a type of utility software. A student compresses a large video file before emailing it.

Give two benefits of compressing the video file.

[2 marks]
Mark scheme

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

  • Reduces the file size / uses less storage space (1)
  • Takes less time to upload/download/send (1)
  • Uses less bandwidth / reduces the amount of data transferred (1)
  • The file is more likely to fit within an email attachment size limit (1)
  • Reduces the amount of storage needed for backups / more files can be stored on backup media (1)

Do not award both 'reduces the file size' and 'uses less storage space' as two separate benefits.

Do not award both 'takes less time to send' and 'uses less bandwidth' as two separate benefits.

Do not accept 'it is compressed' on its own.

Do not accept 'it makes the file easier to send' unless a benefit such as a smaller file or less time is given.

Do not accept 'better quality'.

Example answers and how they were marked
Full marks2/2

It uses less storage space and it will upload more quickly.

Why: Uses less storage space (1) and takes less time to upload (1).

Some marks1/2

It reduces the size of the file.

Why: Reduces file size (1); no second distinct benefit.

No marks0/2

The video will have better quality.

Why: Better quality is not a benefit of compression; no mark.

4Short recall2 marksUtility Software Swap Remove

Anti-malware software helps keep a computer secure.

State two functions of anti-malware software.

[2 marks]
Mark scheme

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

  • Scans files/downloads/the computer/system for malware (1)
  • Compares files/code against a database of known malware/signatures/definitions (1)
  • Quarantines/removes/deletes infected/suspicious files/malware (1)
  • Prevents/blocks malware from running/being installed (1)
  • Updates the database of malware definitions/signatures (1)

Allow removes/deletes malware for the quarantines/removes bullet.

Do not award both quarantining and removing infected files as two separate functions; they are one function.

Do not award both scanning and preventing/blocking malware if the answer describes real-time scanning that blocks malware; award one only.

Do not accept protects the computer on its own.

Do not accept defragments the disk or backs up files.

Example answers and how they were marked
Full marks2/2

It scans files for malware and quarantines any infected files.

Why: Scans files for malware (1) and quarantines infected files (1).

Some marks1/2

It scans the computer for viruses.

Why: Scanning the computer for malware/viruses (1); no second function.

No marks0/2

It defragments the hard disk so files open more quickly.

Why: Defragmentation is a different utility and does not scan for, quarantine or remove malware; no mark.

5Explain2 marksFile Management Swap Remove

An operating system stops a new file from replacing an existing file with the same name in the same folder.

Explain one reason why the operating system does this.

[2 marks]
Mark scheme

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

  • Existing data would be lost (1) because the new file would overwrite/replace its contents (1)
  • The original file could not be recovered (1) because its contents would be destroyed/replaced (1)
  • A program that uses the existing file would fail (1) because the file's data would have been changed/removed (1)
  • The user could lose important work (1) because the old file is replaced by the new one (1)

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

Do not accept 'so files do not have the same name' without a reason linked to loss of data.

Do not accept 'to keep files tidy' or 'so the computer does not crash' without a reason linked to the existing file's contents being lost.

Example answers and how they were marked
Full marks2/2

The user would lose the existing file because the new file would overwrite its contents.

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

Some marks1/2

The old file would be lost.

Why: Point only; no linked reason stating that the new file would overwrite its contents.

No marks0/2

So two files do not have the same name because each file needs a different name.

Why: Repeats the rule about names and does not explain the loss of existing data.

6Explain2 marksFile Management Swap Remove

An operating system stores a name for each file and displays the names in a file manager.

Explain one benefit to a user of giving a file a name that describes its contents.

[2 marks]
Mark scheme

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

  • The user can identify what is in a file without opening it (1) because the name describes the contents (1)
  • The user can search for a file using words from its name (1) because the file manager/search matches those words to the stored file name (1)
  • The user can choose the correct file from several similar files (1) because the descriptive name distinguishes it from the other files (1)
  • The user can sort/group related files together (1) because files with similar contents can share a word/phrase in their names (1)

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

A correct point on its own can award 1 mark.

Do not accept 'it is easier to find' on its own without a linked reason that says the search/file manager uses words/terms in the file name to match the search.

Do not accept 'it is organised better' unless it is linked to how the name helps, e.g. sorting/grouping files by a shared word in their names.

Do not accept 'it is more secure' or 'the file opens faster' or 'it saves storage space' because a descriptive name does not make a file more secure, open faster or take less storage.

Do not award a second mark for repeating the same benefit, e.g. saying time is saved after saying the contents can be identified without opening the file.

Example answers and how they were marked
Full marks2/2

The user can tell what a file contains without opening it because the name describes the contents.

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

Some marks1/2

The user can search for a file using words from its name.

Why: Search point (1); no linked reason about the file manager/search matching those words to the stored file name.

No marks0/2

The file will open faster because the name tells the computer what type of file it is.

Why: Misconception: a descriptive name does not make a file open faster, and no creditworthy point or reason is given.

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

8Discuss6 marksFile Management Swap Remove

A student keeps school work and photographs on a laptop. The laptop's storage is almost full. The student uses the operating system's file management.

Discuss the file management tasks the operating system provides that the student can use to manage these files.

Your answer should include:

  • saving files
  • deleting files
  • copying files
[6 marks]
Mark scheme

Indicative content

Saving files

  • When saving, the operating system lets the student choose the folder and the file name, so new work goes into the correct subject folder instead of the root.
  • The operating system warns the student before a file with the same name is overwritten, so an earlier version of an essay is not lost by accident.
  • The operating system writes the file into free space on the laptop and records where it is, so the student can open it again later.

Deleting files

  • The operating system lets the student delete files that are no longer needed, which frees space so new photographs can be saved.
  • Deleted files are usually moved to the recycle bin first, so a file removed by mistake can be restored.
  • Emptying the recycle bin removes the data permanently and releases the space for other files.

Copying files

  • The operating system lets the student copy files to a USB flash drive, so there is a second copy if the laptop is lost or damaged.
  • Copying leaves the original file in place, so the student can carry on working on the laptop's copy.
  • A whole folder can be copied in one action, including its subfolders, which is quicker than copying each file separately.

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)

Level 3 responses must cover saving, deleting and copying.

Do not accept answers about the processor or defragmentation as file management tasks.

Example answers and how they were marked
Full marks6/6

When the student saves a file, the operating system lets them pick the folder and name, and it warns before a file with the same name is overwritten, so an earlier essay is not lost. Because the laptop is nearly full, the student can delete photographs they no longer need; these go to the recycle bin at first, so a file removed by mistake can be restored, and emptying the bin releases the space for good. The student can also copy their school work to a USB flash drive, which leaves the original on the laptop and gives a backup if the laptop is damaged.

Why: Saving (choice of folder and name, overwrite warning), deleting (recycle bin, restoring, releasing space) and copying (backup on a USB drive, original kept) are all explained and tied to the student's full laptop.

Some marks3/6

The student can save files into folders so they know where they are. They can delete files they do not need to free up space. They can copy files onto a memory stick.

Why: Three tasks are named with a reason for deleting, but saving and copying are not developed and there is little linkage between the points, so Level 2.

No marks0/6

The operating system saves files automatically and deletes old files when the RAM is full. The processor copies the files to the hard disk.

Why: No creditworthy point: files are not saved automatically, RAM filling does not trigger file deletion, and copying is not done by the processor. Typical confusion between file management and memory or processor management.

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

10Discuss6 marksUtility Software Swap Remove

A charity has 15 laptops used by staff and volunteers. Staff often download files from the internet and open email attachments. The charity's manager is considering installing anti-malware software on every laptop.

Discuss the use of anti-malware software to protect the charity's computers.

Your answer should consider:

  • how malware could affect the charity's computers
  • how anti-malware software finds and deals with malware
  • what else the charity must do for the anti-malware software to be effective
[6 marks]
Mark scheme

Indicative content

How malware could affect the charity's computers

  • A virus could damage or delete the charity's files, such as its records of donations.
  • Spyware could record keystrokes and send staff passwords or personal data to a hacker.
  • A Trojan horse could hide malicious code inside a useful-looking program that a volunteer downloads, so it is installed without the user knowing.
  • Malware could spread from one laptop to another through files shared on the charity's network, so more laptops become infected and more files are lost.

How anti-malware software finds and deals with malware

  • It scans files and compares their code with a database of known malware patterns (signatures) to identify a match.
  • It can apply rules (heuristics) to decide whether a program is behaving suspiciously.
  • A suspicious file can be run in a sandbox to see whether its behaviour is malicious.
  • When malware is found, the file is quarantined so that it cannot run, and it can be deleted.
  • Downloads and email attachments can be scanned before a member of staff opens them.

What else the charity must do for the anti-malware software to be effective

  • The database of malware definitions must be kept up to date, or new malware will not be recognised.
  • Staff and volunteers should be trained not to open unexpected attachments or download from unreliable sites.
  • Backups are still needed, because anti-malware cannot repair files that malware has already damaged.
  • Scheduled scans must be allowed to run on all 15 laptops, so that malware is found even if no one opens the file.

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)

Level 3 responses must cover both how malware could affect the computers and how anti-malware software finds or deals with it; a brief deal-with point and an unexplained update point, with no identification method and no effect on the charity's files, are Level 1.

Do not accept anti-malware software described as a firewall, or 'scans files'/'finds viruses' on its own as a method of identifying malware.

Example answers and how they were marked
Full marks6/6

A virus could spread through the files the volunteers download and delete the charity's donation records, and spyware could record staff keystrokes and send passwords to a hacker. The anti-malware software would scan each laptop, including downloaded files and email attachments, and compare their code with a database of known malware patterns. If a match is found, the file is quarantined so that it cannot run, and it can then be deleted, so one infected laptop is less likely to pass malware to the other 14. The database of definitions must be kept up to date, because new malware will not be recognised by an old database. The manager should also train staff not to open unexpected attachments, and keep backups, because anti-malware cannot repair files that have already been damaged.

Why: Level 3: the effects of a virus and spyware are applied to the charity's laptops and records, and signature comparison, quarantine and deletion are explained and linked to stopping the spread (AO1/AO2), with accurate limits on what the software can do.

Some marks2/6

The anti-malware software scans the laptops and finds viruses. When it finds one it deletes the file so the laptop is safe. The charity should keep the software updated.

Why: Level 1 (2 marks): basic, independent points are made — deleting the infected file and keeping the software updated — but there is no identification method (signatures, heuristics or a sandbox), no explanation of how malware could affect the charity, and little linkage or application.

No marks0/6

The anti-malware software is a firewall that stops hackers getting into the laptops from the internet, and it scans the files for viruses.

Why: Level 0: describing anti-malware as a firewall is a misconception and is not credited, and bare 'scans the files for viruses' is not accepted on its own as a method of identifying malware, so there is no rewardable content.

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.