Question: what are different types of computer infections?
Answer: Virus. A computer virus is a piece of software that can 'infect' a computer, install itself and copy itself to other computers, without the users knowledge or permission. ... 
Malware. ... 
Trojan horse. ... 
Worm. ... 
Spyware. ... 
Adware.