What is logic bomb?
In a computer program, a logic bomb, also called sl*g code, is programming code, inserted surreptitiously or intentionally, that is designed to execute (or "explode") under circumstances such as the lapse of a certain amount of time or the failure of a a program user to respond to a program command. It is in effect a delayed-action computer virus orTrojan horse. A logic bomb, when "exploded," may be designed todisplay or print a spurious message, delete or corrupt data, or have other undesirable effects.