Question

What is Virus in a computer?

A.

Opponent written opcode to run the system or copy data to his system

B.

A piece of code which performs unwanted operation resulting in corrupting the system or destroying data

C.

A small digital device which performs unwanted operation resulting in corrupting the system or destroying data

D.

A bot to delete the data and network device

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:

  1. 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.
  2. Impact of a Virus:
    • It can corrupt system files, slow down performance, steal sensitive information, or render a system unusable.
  3. 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:

  1. 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.
  2. 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.
  3. 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.

Free Tests

Free
Must Attempt

UP SI 2025 Full Mock Test : 01

languageIcon English
  • pdpQsnIcon160 Questions
  • pdpsheetsIcon400 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

UP Police Constable Full Mock Test 01

languageIcon English
  • pdpQsnIcon150 Questions
  • pdpsheetsIcon300 Marks
  • timerIcon120 Mins
languageIcon English
Free
Must Attempt

Government Policies and Scheme

languageIcon English
  • pdpQsnIcon10 Questions
  • pdpsheetsIcon20 Marks
  • timerIcon5 Mins
languageIcon English
test-prime-package

Access ‘UPSSSC’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow