Concept:A logic bomb is a hidden malware that activates only when a predefined condition, such as a date or event, is met.
Explanation:A logic bomb stays dormant inside a system until its trigger condition becomes true.
For example, it may be set to activate on a specific date or after a particular user action.
When the trigger occurs, the malware carries out its harmful operation, such as deleting files or disrupting the system.
Because the description in the question exactly matches this behaviour, the correct type of malware is a logic bomb.
Answer:B. logic bomb