Menu

Edexcel GCSE Computer Science (1CP2) Exam Questions

Build a practice paper from 604 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 · 14 marks

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

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

3Discuss6 marksLow and High Level Languages Swap Remove

A software company is writing a new program that will be sold to users who have different types of computer. The program does not need to control the hardware of the computer directly. The company must decide whether to write the program in a high-level language or a low-level language.

Discuss whether the company should use a high-level language or a low-level language to write this program.

Your answer should consider:

  • machine independence
  • processor specificity
  • how the code is translated for each type of computer.
[6 marks]
Mark scheme

Indicative content

Machine independence

  • A high-level language is machine independent, so the same source code can be run on different types of computer with few or no changes.
  • The company can write the program once and sell it to users with different computers, without rewriting the code for each type of computer.
  • Only one version of the program needs to be written and maintained, so development takes the company less time.

Processor specificity

  • A low-level language is processor-specific, so a program written for one processor will not run on a different processor without being rewritten.
  • Assembly language instructions depend on the instruction set of the particular processor, so the company would need a separate version of the program for each type of computer.
  • Writing a separate low-level version for every type of computer would take the company much longer than writing one high-level program.
  • Low-level code gives direct control of the hardware of one processor, so it is better suited to device drivers than to a program that must run on many different computers.

Translation

  • High-level source code is translated for each type of computer by a compiler or an interpreter, so one version of the source code is enough for all the users.
  • Assembly language is translated into machine code by an assembler, and the assembler produces machine code for one specific processor only.
  • Machine code is already in a form that one particular processor can execute directly, but the same machine code will not run on a different processor.
  • Each high-level statement translates into several machine code instructions, so the programmer does not need to know the instruction set of the processor.

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 both high-level machine independence and low-level processor specificity, with the effect on the company's decision.
  • Do not award low-level language, assembly language or machine code as portable, or 'high-level languages are written in English/like English' as a reason for machine independence.
Example answers and how they were marked
Full marks6/6

A high-level language is machine independent, so the company can write the program once and it will run on different types of computer with few or no changes. A different compiler is used for each type of processor to translate that same source code into the machine code for that computer, so the company can sell one program to all of its users. A low-level language is processor-specific, so a program written in assembly for one processor will not run on a different one. The assembler produces machine code for one particular instruction set, so the company would need to write a separate version for each type of computer, which would take much longer. As the program does not need to control the hardware directly, the company should use a high-level language.

Why: Develops high-level machine independence with the compiler translating for each processor, and low-level processor specificity with the assembler producing machine code for one instruction set, both applied to the company's decision, in a coherent and sustained argument: Level 3, 6 marks.

Some marks3/6

A high-level language is machine independent, so the company can write the program once. A different compiler is used for each type of computer to translate the code, so users with different computers can all run the same program. A low-level language is processor-specific, so it would not be as suitable for the company.

Why: Machine independence is linked to the compiler and applied to the users, but processor specificity is only asserted and no translation of low-level code is given, so the reasoning is not sustained: Level 2, 3 marks.

Some marks1/6

High-level languages are machine independent because they are written in English, so the company can sell the program to anyone. Low-level languages are machine code, so they can be translated to run on any type of computer.

Why: One basic point that high-level languages are machine independent, applied by selling to anyone (1). 'Written in English' is not a reason for machine independence and low-level code is not portable, so neither is credited: Level 1, 1 mark.

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.