Concept:
Malware refers to malicious software designed to damage systems, steal information, or disrupt operations. Different types of malware behave differently.
Step 1: Understand a Computer Virus.
A virus requires a host file or program to spread.
It attaches itself to legitimate files and becomes active when those files are executed.
Step 2: Understand a Worm.
A worm is a standalone malicious program.
It can:
• Replicate itself.
• Spread automatically through networks.
• Infect multiple computers without user intervention.
• Operate without attaching to any host file.
Step 3: Understand Trojans and Spyware.
A Trojan disguises itself as legitimate software.
Spyware secretly collects information from users.
Neither is characterized by self-replication without a host file.
Step 4: Conclusion.
Since worms spread independently without attaching themselves to a host program, the correct answer is Worm.
Hence, option (B) is correct.