Introduction:
A computer virus is a man-made harmful computer program that affects the normal functioning of a computer system. Computer viruses can transfer from different means to a computer without the knowledge and permission of the user. Computer viruses have the ability to replicate their source code and they can hide in other files. computer virus executed when such files are used for or executed.

Purpose of creating a virus:
- To steal data and information
- To earn money e
- To expose programming ability
- To destroy data information and files

Modes of virus transmission:
- Sharing of infected external storage describe pen drive CD DVD
- Using pirated software
- Downloading the files from unknown websites
- Opening virus-infected email messages
- Exchanging of data and information over the network

Effects of computer virus:
- Destroy data information and programs
- Makes computer hang
- Delete or remove files permanently
- Reduce overall performance of computer
- Spreads from one computer to another
- Change the size of file
Symptoms of computer virus:
- The program takes more time to load or fails to load
- Irritating messages come on screen suddenly
- Missing files or mismatch of files
- Computer becomes slow
- The computer gets shut down unexpectedly
- The program opens automatically without giving instructions

- Boot sector virus:-
It is a startup infector virus that infects the bootstrap loader. The bootstrap loader and the file information are stored on the boot sector of a disk. When the computer is started this virus loads its source code first and takes control of the computer system. The boot sector virus affects the operating system of computers. Example: C- Brain, Disk Killer, etc - File infector virus or parasitic virus:-
These viruses infect executable files or programs. The files having extensions such as .exe, .sys, .com are executable files or program files that are infected by file infector virus. Example: Ambulance virus, Die Heart, etc. - Multipartite virus:-
This virus has the ability of file infector as well as boot sector virus. It can infect both the boot sector and executable files. For example Ghostball, Invader, etc. - Macro virus or document infector virus:-
This virus infects specifically the document files created by Microsoft applications such as Word, Excel, PowerPoint, etc. So it is also called the document infector virus. Example: Love letter, Melissa, etc. - Script virus:-
This virus infects script programming languages such as JavaScript, VB script. This virus can transfer through emails and by downloading files from web pages. Example: ILOVEYOU, HTML.Redlof. A, etc - WORMS:-
It is a malicious computer program that replicates but does not hide itself in other files. It is similar to computer viruses and can cause negative effects too. Example: PSW Bugbear, Mapson, etc. - Trojan horse:-
It is a destructive program that does not replicate, however, it can harm the computer system by providing remote access to someone else.

Types of computer viruses:
Antivirus:
An antivirus is a useful computer program that detects and removes viruses from the computer system. It is a utility program that protects computer hardware and software from being damaged due to viruses. Example: Quick Heal, Kaspersky, AVG(Anti Virus Guard), Norton, etc.
Advantages of antivirus:
- Real-time protection of computer
- Scan computer’s hard drive to ensure virus free
- Detect computer virus
- Scan portable and removable media like pen drive CD DVD etc
Methods of protection from computer viruses:
- Install Powerful antivirus
- Do not use pirated software
- Update antivirus software timely
- Do not download files from the internet and unknown sites.
- Do not open unknown emails
- Scan external media like pen drive CD DVD before using it
- Use a strong password to protect from unauthorized access by others