A computer virus is a program that corrupts or deletes data on a PC. There are different types of viruses such as file viruses, bootsector viruses, e-mail viruses, and network viruses. The first computer virus was created in 1899 by a U.S. engineer in California and was named VIRUS, standing for Vital Information Resource Under Siege.