Define and explain the difference between virus worms logic bombs and trogen horses?

Virus=A program that replicates by attaching itself to other programs. The infected program must be executed for a virus to run. Most of the time a system file or a program that you use occasionally.

Logic Bomb=Dormant code added to software and triggered at a predetermined time or by a predetermined event.

Trojan Horse=Does not need a host program to work; rather, it substitutes itself for a legit program. Likely to introduce one or more Viruses into your system. Sometimes called downloaders.

Worm=Program that copies itself throughout a network or the internet without a host program. Creates problems by overloading the network as it replicates. Damaging just by their presence. Overloads memory or hard drive space by replicating repeatedly.