The correct answer is D. Program.
A program is a set of instructions that directs a computer to perform a specific task. Programs are written in a variety of programming languages, and they are executed by the computer’s central processing unit (CPU).
Storage is a general term for any device or medium that can be used to store data. Memory is a specific type of storage that is used to store data that is currently being used by the computer. Logic is a branch of mathematics that deals with the study of reasoning and proof.
None of the other options are correct because they do not specifically refer to a set of instructions that directs a computer.