Computer virus is a type of software that places a copy of itself within another computer program and can spread to other software after the infected application is run. A computer virus cannot duplicate itself without attaching to another program. A virus can be transferred from one computer to another via a floppy disk or other types of storage media, or via a program obtained over the Internet or another computer network.