A computer virus differs from a worm primarily because a virus:
Q1. A computer virus differs from a worm primarily because a virus:
Answer: Requires a host file or program to attach itself to and spread
Explanation: A virus requires a host file or executable program to attach to in order to spread, unlike a worm which is self-contained and propagates independently across networks. Both are malware but differ fundamentally in their propagation method.