Dictionary of Accounting Terms: computer viruscomputer virusa program that replicates and spreads by attaching itself to other programs. When the infected program is run, the virus executes an event.