Question: what are the different types of computer viruses?
Answer: Boot sector virus. This type of virus can take control when you start — or boot — your computer. ... 
Web scripting virus. This type of virus exploits the code of web browsers and web pages. ... 
Browser hijacker. ... 
Resident virus. ... 
Direct action virus. ... 
Polymorphic virus. ... 
File infector virus. ... 
Multipartite virus.