Correct option is B
A computer virus is a type of malicious software (malware) that is specifically designed to:
- Perform unwanted operations on a computer system.
- Corrupt files, systems, or programs.
- Destroy or steal data, causing harm to the system's integrity and user information.
Viruses often spread by attaching themselves to legitimate programs, files, or software and get executed when those programs are run.
Important Key Points:
- Definition of a Virus:
- A virus is a self-replicating piece of code that spreads by attaching itself to programs or files and executing unwanted actions.
- Impact of a Virus:
- It can corrupt system files, slow down performance, steal sensitive information, or render a system unusable.
- How Viruses Spread:
- Through Emails: By malicious attachments or links.
- Downloads: From infected software or pirated files.
- External Devices: Via USB drives or other storage media.
Knowledge Booster:
- Why Not Other Options?
- a) Opponent written opcode to run the system or copy data to his system:
- Incorrect. A virus does not necessarily involve an “opcode” for direct system access.
- c) A small digital device which performs unwanted operation resulting in corrupting the system or destroying data:
- Incorrect. A virus is not a physical device; it is software code.
- d) A bot to delete the data and network device:
- Incorrect. A bot is a different type of malware often used to automate tasks, not specifically to corrupt data like a virus.
- Types of Computer Viruses:
- File Infector Virus: Attaches itself to executable files.
- Macro Virus: Targets documents and spreadsheets (e.g., MS Word).
- Boot Sector Virus: Infects the boot sector of storage devices.
- Polymorphic Virus: Changes its code to evade antivirus detection.
- Preventing Virus Attacks:
- Use updated antivirus software.
- Avoid downloading from untrusted sources.
- Regularly scan external devices like USB drives.
- Stay cautious of phishing emails and attachments.