A computer virus is a program that infects and disrupts the normal functioning of a computer without the user's permission or knowledge. There are different types of viruses, including program file viruses and boot sector viruses. Symptoms of a virus infection include frequent computer shutdowns and restarts, malfunctioning applications, inaccessible drives, and unexpected error messages. Viruses can spread through removable storage devices, the internet by visiting infected websites or opening email attachments, and through fake antivirus software called "sweepers". It is important to have effective antivirus software installed and keep it updated to detect and remove viruses.