Which of the following replicates itself by attaching to other programs?
A worm
A virus
a trojan horse
a multipart virus