GCSE · Computer Science · Edexcel · Spec 1CP2
Malware – viruses
Everyone says 'my computer's got a virus'. Plot twist: 'virus' is only one kind of malware, and it has a very particular trick.
Why a virus matters
Reason it through
Why can one infected program become a problem for a whole network?
First link · your turn
A virus has got into one computer. What does it do to the other programs on it?
Computer science · Malware
Open door or locked door?
Pick an action, then pick where it belongs.
Still to sort
Opens a way in or raises the risk (0)
Gives malware a route into a system, or makes infection more likely.
Reduces the risk (0)
Makes it harder for malware to get in.
Malware often tricks users into downloading or installing it. Which everyday actions help it in, and which lower the risk?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
What a virus really is, how it differs from a worm, and how malware gets in.
What you need to know
- Malware is any program or file made to damage, steal from, or take control of a computer system without permission.
- Types of malware include viruses, worms, trojans, ransomware, spyware and adware; each works differently depending on what it is designed to do.
Have a goA classmate swears 'virus' is just another word for malware. Which name in the list above proves them wrong?
Any of the others: worms, trojans, ransomware, spyware or adware.
Malware is the umbrella word, and virus is only one of the types listed under it.
- A virus is self-replicating: it copies itself by modifying other programs and inserting code, so it attaches itself to files.
- Worms replicate without attaching themselves to files, and that is how a worm differs from a virus.
Have a goA program copies itself but does not attach itself to any file. Virus or worm?
A worm.
Copying itself does not make something a virus; a virus attaches itself to files by modifying other programs.
- Viruses and worms still have one thing in common: both are self-replicating.
- Malware often tricks users into downloading or installing it.
- It can arrive on infected USB sticks, email attachments, unsafe downloads, fake apps, hacked-site links, pirated software or unsafe Wi-Fi.
- Outdated software, or no antivirus protection, increases the risk of infection.
Have a goLaptop A has out-of-date software and no antivirus. Laptop B has neither problem. Which one is at greater risk?
Laptop A.
Outdated software and no antivirus protection increase the risk; that is a raised risk, not a certainty.
- Once inside, malware can hide, spread and cause data loss, system failure or financial loss, on one device or a whole network.
The big picture
Malware is any program or file made to damage, steal from or take control of a computer system without permission. A virus is one type of malware: it copies itself by modifying other programs and inserting code, so it attaches itself to files. A worm also copies itself, but without attaching to files. Malware often tricks people into installing it, and once inside it can hide, spread and cause damage on one device or a whole network.
Key points
Worked example
Problem
Hana plugs in a USB memory stick someone gave her. Soon several programs on her laptop contain code she never added, and those programs keep passing it on. Decide what kind of malware this is and how it probably got in.
⚠ Watch out
Thinking that copying itself is what makes something a virus rather than a worm. Both are self-replicating. The difference is that a virus attaches itself to files by modifying other programs and inserting code, and a worm replicates without attaching itself to files.
Memory hook
A virus hitches a ride inside other programs; a worm travels on its own.
Check yourself
Cover the page and fill the gaps: a virus is _____-replicating malware that attaches itself to files by _____ other programs and _____ code.
Flashcards
(12)What is malware?
Name six types of malware.
What is a virus?
Why does a virus end up attached to files?
How does a worm differ from a virus?
What do viruses and worms have in common?
Is 'virus' another word for all malware?
What does malware often try to get users to do?
Name three ways malware can enter a system.
What two things increase the risk of infection?
What can malware do once it is inside a system?
How far can a malware infection reach?
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 Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)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 21 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.