Computer worm and computer virus
Differentiate between the following
Computer worm and computer virus
Differentiate between the following
Computer worm and computer virus
Best answer
| Computer worm | computer virus |
| It is a complete program | it is not a complete program by itself |
| Worm generally consumes system resources | virus cause direct harm to the system by corrupting codes as well as data |
| It cannot operate independently | it operates independently |
A worm is a complete, self-running program that spreads by itself over a network; a virus is a piece of code that attaches to a host program and runs only when that program runs.
| Computer worm | Computer virus |
|---|---|
| It is a complete, standalone program. | It is not a complete program by itself; it is code attached to a host program or file. |
| It operates independently; it does not need a host program. | It cannot operate independently; it runs only when the infected host program is executed. |
| It spreads by itself, usually through networks, by making copies of itself. | It spreads when infected files or programs are copied, shared or run by a user. |
| It mainly consumes system resources (memory, CPU, network bandwidth), slowing the system or network. | It mainly causes direct harm by modifying or corrupting program code and data. |
| Example: Morris worm, ILOVEYOU (spread by e-mail). | Example: boot-sector and file-infector viruses. |
Log in or create a free account to answer this question.