|A computer worm is a complete program
||A computer virus is not a complete program , but a part of a program
|A computer worm act independently
||A computer virus cannot act independently.
|It does not cause direct harm to computer system. It just goes on spreading on to network
||It causes direct harm to the computer system, corrupts code as well as data.