Computer viruses can take various forms, including script viruses, overwriting viruses, macro viruses, boot sector viruses, polymorphic viruses, and direct action viruses. These malicious programs can destroy stored data, slow down or block the computer by executing numerous pointless instructions, and impede computer functioning.