A computer virus is a type of malicious software designed to disrupt or damage a computer system by replicating itself. Viruses can spread through email attachments, infected files, or websites and can compromise system performance, delete important files, or steal sensitive data.
Example: The Trojan Horse virus is one of the most well-known types of computer virus. It disguises itself as legitimate software, tricking users into installing it, and then proceeds to harm the system. To prevent computer viruses, users should install antivirus software, avoid downloading files from untrusted sources, and regularly update their systems.