What is the definition of virus?

A specific pattern of virus code


According to printon.edu, a virus is" a software program capable of reproducing itself and usually capable of causing great harm to files or other programs on the same computer; "a true virus cannot spread to another computer without human assistance""