A computer virus is a software program created by a human programmer that can reproduce itself and adversely affect computers without the user's knowledge, potentially erasing data or corrupting programs. Common sources of virus transmission include CD-ROMs, USBs, and the internet. Anti-virus software scans systems automatically on startup to detect and remove viruses, helping prevent infection from these common transmission sources.