Explanation:A computer virus is a type of malicious software program designed to spread from one computer to another and interfere with normal operations. It attaches itself to legitimate files or programs and replicates when the infected file is executed. Viruses can corrupt files, consume system resources, steal sensitive information, and disrupt services. Some viruses are…