All Exams Test series for 1 year @ ₹349 only
Question

Which type of computer virus attaches itself to executable files and gets activated when the file is run?

This question was previously asked in
RRB JE 2025 CBT 2 Mechanical and Allied Engg Question Paper English (2-Jul-2026) (Shift-1)
The correct answer is

File Infector Virus

The given question relates to computer viruses, specifically identifying the type of virus that attaches to executable files and activates upon file execution.

Let's look at each option provided:

  1. Macro Virus: This type of virus typically infects documents such as Word or Excel files by embedding itself in macros. Macros are small programs within a document that automate tasks. Macro viruses activate when the document is opened, not when an executable file is run.
  2. Boot Sector Virus: These viruses infect the boot sector of a storage device like a hard disk or a floppy disk. They execute when the computer is started, making them active during the initial boot process, not specifically when an executable file is run.
  3. File Infector Virus: This class of virus attaches itself to executable files such as .exe or .com files. When such a file is run, the virus activates and can spread further by infecting other executable files. Thus, this fits the description given in the question.
  4. Worm: Worms are self-replicating programs that spread across network connections without needing to attach themselves to other files or programs. They do not require attaching to executable files specifically to activate.

Based on the detailed analysis above, the correct answer is File Infector Virus as they attach to executable files and activate when these files are executed.

Was this answer helpful?

Similar Questions

  1. Which type of computer virus attaches itself to executable files and gets activated when the file is run?

  2. Which type of computer virus attaches itself to executable files and gets activated when the file is run?

  3. Which type of computer virus attaches itself to executable files and gets activated when the file is run?


Important Questions from Miscellaneous

  1. Read the given figure and find the region representing persons who are educated and employed but not confirmed in job.

  2. The magazine in which Mahatma Gandhi mentioned what he wanted the Constitution to do is:

  3. Which gas shields the surface of the earth from ultraviolet radiation from the sun?

  4. Which event is marked as an Intangible Cultural Heritage of Humanity by UNESCO?

  5. Who has been conferred with the rank of the Commander of the Order of the British Empire in 2018?

Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE Prev. Yr. Paper (CBT 1 + CBT 2) Test Series
290 Tests 5 Tests Free
4825 Attempts
4.3(89)
English

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App