Computer virus refers to a set of computer instructions that propagates copies or versions of itself into computer programs or data when it is executed.