GCSE · Computer Science · Eduqas · Spec C500QS

Anti-virus utility

The same file can pass a virus scan on Monday and be caught on Tuesday. The file didn't change. What did?

Run the scan yourself

Three files, two databases

Step through the scan. At each Yes/No diamond, call the answer before it is shown.

Call the Yes/No at each diamond before it is revealed. Then switch to the second run and watch the same three files again.

Variables

database=P1, P2

Step 1. Made-up labels for the demo: P1, P2 and so on stand for virus patterns. The database lists the patterns it knows.

Step 1 of 16Called right: 0 of 3

A match means the file's code contains a pattern the database already holds.

What kind of program is it?

Which of these do you actually believe?

Dev has just installed anti-virus software and is telling the class what it is.

Which of Dev's ideas is closest to what you think right now?
How sure are you?

Exam line: Anti-virus is utility software: it helps protect the system by detecting viruses and quarantining or removing them.

After the alert

Three fates for an infected file

For each fate, tick every statement that is true afterwards, then check.

Quarantine
Remove by deleting the file
Remove by cleaning the virus code out

Exam line: Quarantine isolates the file and can be undone. Removal either deletes the file or cleans the virus code out of it.

Keeping definitions up to date

?

Reason it through

Why do anti-virus definitions need keeping up to date?

Link 1 of 4

First link · your turn

Think about viruses in general. What keeps happening to the list of viruses that exist?

2
Locked — reveal the link above first
3
Locked — reveal the link above first
4
Locked — reveal the link above first

Your turn to write

Describe it, then explain it

Describe how anti-virus software detects a virus, and explain why its virus definitions need to be kept up to date. [5 marks]

0 words · your answer stays on this page and is not sent anywhere.

Exam line: Say what the scan compares, what a match leads to, and why new viruses make updates necessary.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

How a scan spots a virus, what it does next, and why a brand-new virus can slip past.

What you need to know

  • Anti-virus software is utility software: it helps look after and protect the computer instead of doing your main tasks.
  • Its job is to detect computer viruses, then quarantine or remove them, protecting the system and its files.
  • It works by scanning files, such as files on storage devices or newly received files, for signs of a virus.
  • During a scan it checks each file's code against a database of known virus patterns, called virus signatures or definitions.
  • Have a goDev swears the scan works by looking at a file's name and icon. Dev is confidently wrong. What does it actually look at, and what does it compare that with?

    The file's code, compared with the database of known virus patterns.

    Dev's idea fails because a name or icon tells the software nothing; the scan decides by matching code against known patterns.

  • If a file's code matches a known pattern, the software flags the file as infected and alerts the user.
  • Quarantine moves an infected file to a separate, isolated area where it cannot run or spread.
  • Removing a file means the software deletes it, or cleans the virus code out of it.
  • Have a goDev's friend says quarantine and removing are the same thing: the file just vanishes. Which of the three fates (quarantine, deleting, cleaning) actually make a file vanish?

    Only deleting. Quarantine moves the file to isolation, and cleaning keeps the file but takes the virus code out.

    The friend treats all three as deletion, but only deleting removes the file itself; quarantine and cleaning both leave a file behind.

  • It can only recognise viruses whose patterns are in its database, so a newly created virus is missed until its pattern is added.
  • Have a goA database holds patterns for viruses V1 to V9. Today someone creates V10, and a file carrying V10 is scanned. Predict: flagged or clean?

    Clean. The scan misses it.

    A virus being new does not make it stand out; the software only recognises patterns already in its database, and V10's is not there yet.

  • New viruses are created all the time, so the database must be updated regularly, often automatically.

The big picture

Anti-virus software is utility software that helps protect a computer. It scans files and checks each file's code against a database of known virus patterns (virus signatures or definitions). A match means the file is flagged as infected and the user is alerted, and the file can then be quarantined or removed. Because it only recognises patterns already in its database, a newly created virus is missed until its pattern is added, so the definitions must be updated regularly, often automatically.

Key points

1Anti-virus is utility software: it protects the system rather than doing the user's main tasks.
2A scan compares each file's code with a database of known virus patterns; a match means the file is flagged as infected and the user is alerted.
3An infected file can be quarantined (isolated, can be restored) or removed (deleted, or cleaned of the virus code).
4It only recognises viruses whose patterns are in its database, so definitions must be updated regularly, often automatically.

Worked example

Problem

A download folder holds five files. Their code contains: no virus pattern, P2, P5, P1, no virus pattern. The database holds P1, P2 and P3. How many files are flagged? Then an update adds P5. How many are flagged now?

⚠ Watch out

Believing that installed anti-virus protects against every virus. It works by matching file code against known virus patterns, so a brand-new virus passes the scan until its pattern is added to the database.

🧠

Memory hook

SCAN, MATCH, FLAG. And remember the catch: a scan can only match what the database already knows.

✓

Check yourself

A clean file is flagged after an update, though it never changed. What changed, and what does that show about how a scan decides?

Flashcards

(12)
What kind of software is anti-virus software?
Utility software: a program that helps maintain and protect the computer system rather than carrying out the user's main tasks.
What is the purpose of anti-virus software?
To detect computer viruses on a system and quarantine or remove them, protecting the system and its files from infection.
What does anti-virus software scan?
Files, for example files held on storage devices or newly received files, looking for signs of a virus.
During a scan, what is each file's code checked against?
A database of known virus patterns, called virus signatures or virus definitions.
What does the software do when a file's code matches a known virus pattern?
It flags the file as infected and alerts the user.
What does quarantining an infected file do?
Moves it to a separate, isolated area where it cannot run or spread.
Why is quarantine useful if the alert turns out to be a false alarm?
The file can be restored from quarantine, or deleted later if it really was infected.
What are the two ways anti-virus can remove an infected file?
Delete the file, or clean the virus code out of it.
Can anti-virus recognise a virus whose pattern is not in its database?
No. It only recognises viruses whose patterns are in the database.
When will a newly created virus first be detected?
Not until its pattern has been added to the database.
Why do virus definitions need keeping up to date?
New viruses are created all the time, so the database must be updated regularly (often automatically) for the software to keep detecting them.
What is the difference between utility and application software?
Application software does the user's main tasks. Utility software maintains and protects the system.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More Eduqas GCSE Computer Science topics

See the full Eduqas Computer Science curriculum →

How this lesson was checked. This Eduqas GCSE Computer Science (specification C500QS)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 16 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.