A computer virus is malicious software.
It is designed to harm a computer system, disturb normal working, damage data, steal information, or spread from one system to another.
So Assertion (A) is correct.
Now check Reason (R).
The names CryptoLocker, ILOVEYOU, MyDoom and Slammer are well-known examples of malicious programs or malware attacks.
So Reason (R) is also correct in the general sense.
However, Reason (R) only gives examples of well-known malware or viruses.
It does not explain why a virus is malicious software.
An example is not the same as an explanation.
Therefore, both Assertion and Reason are correct, but Reason is not the correct explanation of Assertion.
Hence, the correct answer is:
\[
\text{Both (A) and (R) are correct but (R) is not the correct explanation of (A).}
\]