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
Step 1. Made-up labels for the demo: P1, P2 and so on stand for virus patterns. The database lists the patterns it knows.
A match means the file's code contains a pattern the database already holds.
Keeping definitions up to date
Reason it through
Why do anti-virus definitions need keeping up to date?
First link · your turn
Think about viruses in general. What keeps happening to the list of viruses that exist?
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
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?
What is the purpose of anti-virus software?
What does anti-virus software scan?
During a scan, what is each file's code checked against?
What does the software do when a file's code matches a known virus pattern?
What does quarantining an infected file do?
Why is quarantine useful if the alert turns out to be a false alarm?
What are the two ways anti-virus can remove an infected file?
Can anti-virus recognise a virus whose pattern is not in its database?
When will a newly created virus first be detected?
Why do virus definitions need keeping up to date?
What is the difference between utility and application software?
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 postedMore Eduqas GCSE Computer Science topics
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.