Which of the following describes a logic bomb?

a rogue piece of code in a system activates on a certain date
a piece of code replaces the boot instructions
the cookie tracker is exploited to note your browsing habits
a piece of code hidden in a spreadsheet