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. Which of the following is NOT a state function or state variable in a thermodynamic system?

  2. What is the full form for "BPL" in Socio-economic aspects?
  3. In October 2024, which of the following companies was awarded the contract for design, manufacturing and commissioning of two high-speed trainsets by Integral Coach Factory (ICF) to be used in India's first bullet train between Mumbai and Ahmedabad?
  4. Which of the following methods of reproduction simply involves the splitting of the parent cell into two daughter cells in the bacteria?
  5. A, B, C and D opened shopping complexes in the same city. The shopping complex of A is 6 km west of the shopping complex of B. The shopping complex of C is 4 km north of the shopping complex of B. The shopping complex of D is 6 km west of the shopping complex of C. In which direction is the shopping complex of D from the shopping complex of A?
Need Expert Advice?
Test Series
RRB JE img
Railways
RRB JE (CBT 1 + CBT 2) 2026 Mock Test Series
1515 Tests 19 Tests Free
1835 Attempts
4.3(163)
English, Hindi

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