Practise 25 exam-style questions on Malware: viruses, trojans and spyware for AQA GCSE Computer Science (Paper 2). Write your answer as you would in the exam and get it marked in seconds against the mark scheme, point by point, with the Study Helper on hand if you get stuck.
25 questions
1–6 marks each
Instant marking
No sign-up needed
20 questions, marked as you go
Sample questions with model answers
Here are 4 of the questions in this topic, each with a model answer, an explanation of why it earns the marks and the mark scheme an examiner would use.
Question 1
1 mark
A program runs hidden on a laptop. It monitors which websites the user visits and which apps they open, and sends this information to another company without the user's knowledge.
State the type of malware described.
Model answer
Spyware
Explanation
Spyware secretly gathers information about a person or their computer activity and sends it back to whoever is behind it, without the user knowing. The key clues are 'hidden', 'monitors' and 'sends this information'. A virus would copy itself into other files, which is not described here.
Mark scheme
1 mark
spyware
Mark is for AO2 (apply). R. virus, trojan. R. phishing.
Question 2
2 marks
A trojan is named after the story of the wooden horse of Troy, in which soldiers were hidden inside a horse that was given as a gift.
Explain why this is a suitable name for this type of malware.
Model answer
Like the wooden horse, a trojan looks like something useful, such as a free game or tool, so the user willingly installs it. Once it is run, the malicious code hidden inside it does harm, for example letting an attacker into the computer.
Explanation
The comparison has two parts: the outside looks welcome (a legitimate-seeming program) and something harmful is hidden inside (malicious code that acts once the program is run). Both parts are needed for full marks. Trojans rely on the user being tricked into running them; they do not copy themselves like viruses.
Mark scheme
1 mark
a trojan appears to be / poses as a useful / legitimate / harmless program (like the gift)
All marks AO1 (understanding).
1 mark
but it contains a hidden malicious purpose / code that does harm once the user installs / runs it (like the hidden soldiers)
A. it lets an attacker into the computer once it is run. NE. 'it is hidden' without saying it looks like something useful.
Question 3
2 marks
State two pieces of advice that would help staff at a dental practice to avoid infecting their computers with malware sent by email.
Model answer
Do not open attachments or click links in emails from senders you do not know or were not expecting. Scan any attachment with the anti-malware software before opening it.
Explanation
Malware sent by email normally needs the user to open an attachment or follow a link, so the advice should be about not doing that without checking. 'Don't open emails' is too vague, because the danger is in attachments and links.
Mark scheme
1 mark
do not open attachments / click links in emails from unknown or unexpected senders
All marks AO2 (apply). Max 2.
1 mark
check that the sender's email address is genuine
1 mark
scan attachments with anti-malware software before opening them
1 mark
if unsure, check with the sender using a different method (e.g. phone) before opening an attachment
1 mark
report suspicious emails to the practice manager / IT support
NE. 'do not open emails' on its own.
Question 4
3 marks
A company's anti-malware software is kept fully up to date, but one of its computers is still infected by a brand-new piece of malware.
Explain why this could happen, and state one other measure that would reduce the risk of this happening again.
Model answer
Anti-malware software mostly recognises malware by comparing files with signatures of malware it already knows about. Brand-new malware has not yet been added to the database, so even fully updated software may not recognise it. The company could also turn on automatic updates for its operating system and software, so that the weaknesses new malware tries to exploit are patched as soon as possible.
Explanation
Signature-based detection can only recognise malware that has already been identified, so there is always a gap before the newest malware can be detected. That is why anti-malware should be one of several layers, alongside patching, limited user rights and training. Backups are useful but they help recovery, not prevention.
Mark scheme
1 mark
anti-malware software mainly detects malware by comparing files with signatures of known malware
All marks AO2 (apply). Max 2 marks from the first two points (why it could happen).
1 mark
brand-new malware is not yet in the signature database / no update for it has been released yet, so it is not recognised
A. its behaviour may not look suspicious enough to be detected.
1 mark
measure: automatic updates for the operating system and other software (to patch vulnerabilities) // no administrator rights for staff // staff training // only installing approved software // email filtering // a firewall
Max 1 mark for a measure. Max 3 overall. R. 'install anti-malware software' (it already has it). R. backups (they help recovery, not prevention).
Ready to try the rest? Every answer you write is marked against the mark scheme, so you can see exactly where the marks are.
Ctrl + Enter to check
Study HelperHints first, answers after you try
Stuck on this one? Ask for a hint and I’ll point you in the right direction, without giving the answer away. Once you’ve checked your answer, I’ll show you how the marks are awarded.