Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Differences › Computer Science

Virus vs Worm

A virus attaches to a file and needs a person to run it; a worm spreads across networks on its own.

Virus

Malware that hides inside another file and spreads when that file runs.

Worm

Malware that copies itself across networks without help.

Virus compared with Worm
VirusWorm
Needs a host fileYesNo
Needs a person to actUsuallyNo
Spreads throughShared files, attachmentsNetwork weaknesses

Example

Opening an infected attachment spreads a virus; a worm can reach an unpatched computer with nobody clicking anything.

Try it or learn more

  • Password strength checker
  • Class 9 cyber safety

More differences

  • RAM vs ROM
  • Hardware vs Software
  • Compiler vs Interpreter
  • LAN vs WAN
  • HTTP vs HTTPS