1. A virus is a parasitic program written intentionally to alterthe way your computer operates without your permission orknowledge. 2. Trojan horses are programs…