Computer Virus. A computer virus is a malicious program that self-replicates by copying itself to another program. In other words, the computer virus spreads by itself into other executable code or documents. … It is quite easy and simple for the viruses to sneak into a computer by dodging the defense systems.