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

4 questions · 11 marks

Pick again
Print
1Multiple choice1 markCharacter Sets Swap Remove

A new character set must be able to represent 70 different characters.

Identify the minimum number of bits needed to represent each character.

[1 mark]
  • A6
  • B7
  • C8
  • D70
Mark scheme
  • B 7 (1)
  • The only correct answer is B. The correct answer is 7.
  • A is not correct because 6 bits give only 64 combinations, which is not enough for 70 characters
  • C is not correct because 7 bits already give 128 combinations, so 8 bits is not the minimum needed
  • D is not correct because 70 is the number of characters needed, not a number of bits
Example answers and how they were marked
Full marks1/1

B 7

Why: The only correct answer: 7 bits give 128 combinations, enough for 70 characters, and it is the smallest number of bits that does (1).

No marks0/1

C 8

Why: Distractor, no credit: a single-tick item has no partial credit, and 8 bits is not the minimum because 7 bits already give 128 combinations, so the scheme's C line gives no mark.

No marks0/1

A 6

Why: Misconception, no credit: 6 bits give only 64 combinations, which cannot represent 70 different characters, so the scheme's A line gives no mark.

2Describe2 marksUtility Software Swap Remove

A student has a large number of photographs stored on a computer.

Describe the purpose of data compression software.

[2 marks]
Mark scheme

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

  • Makes a file/files smaller (1) so less storage space is needed on the disk (1)
  • Reduces the size of the data (1) so it takes less time to upload/download/transfer the file (1)
  • Compresses files/folders into a single file (1) so an attachment is under the size limit for email (1)
  • Reduces the size of the files (1) so more of them fit onto a storage device/backup media (1)

Do not accept 'it compresses the files' on its own, as this repeats the question.

Do not accept responses about protecting files from malware/viruses or about deleting files.

Example answers and how they were marked
Full marks2/2

It makes the files smaller (1) so that they use less storage space on the computer and more of them fit on the disk (1).

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

Some marks1/2

It makes files smaller.

Why: This is the point (1) but there is no development of what the smaller size leads to, so only one mark.

No marks0/2

It protects the files from viruses so that they cannot be damaged.

Why: This describes anti-malware software, which the mark scheme does not accept; no creditworthy point is made.

3Describe2 marksLow and High Level Languages Swap Remove

A device driver is software that allows the operating system to control a piece of hardware. Device drivers are often written in a low-level programming language.

Describe one reason why a low-level programming language is suitable for writing a device driver.

[2 marks]
Mark scheme

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

  • Instructions can manipulate/control the hardware/memory/registers directly (1) so the driver can control the specific device it is written for (1)
  • The code is written for one specific processor/architecture (1) so it works with the exact hardware it will control (1)
  • The programmer controls exactly how memory/registers are used (1) so the code is efficient and needs little memory, which suits a device that has limited memory (1)
  • Each instruction maps to one machine code instruction (1) so the driver code is small enough to fit in the memory of the device (1)

Extra detail, such as naming the device the driver controls, is not needed to earn the marks.

Do not accept 'it is closer to machine code' on its own: it must be developed to show how this helps the driver, e.g. it can control the hardware directly.

Do not accept 'it is faster/quicker' with no link to the hardware/device, e.g. the device responds quickly.

Do not accept 'it is easier to learn', 'it is easier to debug' or 'it takes less time to write'.

Example answers and how they were marked
Full marks2/2

Low-level instructions can manipulate the hardware and memory directly (1) so the driver can control the specific device it was written for, such as a sound card (1).

Why: Point about direct control of hardware/memory (1) linked to controlling the specific device (1). The named device is extra detail and is not needed.

Some marks1/2

Low-level instructions can manipulate the hardware directly.

Why: Correct point (1) but no linked development saying how this helps the device driver.

No marks0/2

It is closer to machine code so it runs faster than a high-level language.

Why: 'Closer to machine code' is not developed into how this helps the driver, and 'runs faster' is not linked to the hardware/device, so no mark.

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