Skip to content
Exercises · Q2

Q.What is a computer virus? Name some computer viruses that were popular in recent years.

Tripura TbseTextbookSubjectiveImportance★★★★★est
20% · 4/20 Questions
✓ Free question

A computer virus is a self-replicating malicious program that attaches itself to legitimate files or programs and spreads when those files are executed; recent notable examples include WannaCry, ILOVEYOU, and CryptoLocker.

The Idea: Computer Virus Basics

Before we name names, let's get the why straight. A computer virus is not just "any bad software." It's a specific kind of malware with a precise definition: a program that can replicate itself by modifying other programs or files, inserting its own code into them. When the infected file runs, the virus code runs too, and the cycle continues.

The key distinction from other malware like worms or trojans:

  • Virus — needs a host file (like a .exe or a document macro) and human action (opening that file) to spread.
  • Worm — spreads on its own across networks, no host needed.
  • Trojan — disguises itself as useful software but doesn't self-replicate.

So when we say "computer virus," we're talking about that parasitic, self-copying behavior. The damage it does — deleting files, stealing data, encrypting your disk — is the payload, but the defining trait is replication.

Recent Popular Viruses

Here are some that actually made headlines in the last decade or so. These are the ones examiners expect you to recognise:

Virus / MalwareYearWhat it did
WannaCry2017Ransomware worm that encrypted files and demanded Bitcoin. Spread via a Windows SMB vulnerability. Hit hospitals and companies worldwide.
ILOVEYOU2000Email worm that overwrote files and spread through Outlook contacts. Classic "love letter" social engineering.
CryptoLocker2013Ransomware that encrypted user files and demanded payment within 72 hours.
Stuxnet2010Targeted industrial control systems (Iran's nuclear centrifuges). A state-level cyberweapon.
Mydoom2004Fastest-spreading email worm ever; opened backdoors and launched DDoS attacks.
Petya / NotPetya2016/2017Ransomware that overwrote the master boot record, making systems unbootable.
Note

Strictly speaking, WannaCry and ILOVEYOU are worms, not viruses in the pure technical sense — they don't need a host file. But in everyday usage and in most Class-12 exam contexts, "computer virus" is used loosely to mean any self-spreading malicious program. If a question asks for "viruses," naming these is perfectly acceptable.

Why These Matter for Your Exam

The examiner isn't testing whether you can recite Wikipedia. They want to see that you understand:

  1. The mechanism — viruses attach, replicate, and need a trigger.
  2. The impact — data loss, financial damage, system downtime.
  3. The defence — antivirus software, updates, not opening suspicious attachments.

A good answer would weave these together. For example: "WannaCry exploited unpatched Windows systems to encrypt files and demand ransom — it spread automatically across networks, showing why regular OS updates are critical."

Watch out

Don't confuse a virus with antivirus software. The antivirus is the defender; the virus is the attacker. Also, don't say "a virus is any malware" — that's too broad. The self-replication part is what makes it a virus.

Tip

For a quick memory hook: Virus = Very Vicious Vermin that Values Victims' Volume. Or just remember the three V's: Victim file, Viral code, Vicious payload.

✓Final answer

A computer virus is a self-replicating malicious program that attaches to host files and spreads when those files run; recent popular examples include WannaCry (2017 ransomware), ILOVEYOU (2000 email worm), CryptoLocker (2013 ransomware), and Stuxnet (2010 industrial cyberweapon).

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.