Context: A computer program is a collection of instructions that performs a specific task when executed by a computer. A computer requires programs to function.\n\nQuestion: written coded commands that tell the computer what task to perform is the definition of?
Let’s work this out in a step by step way to be sure we have the right answer.
A computer program
To answer the question, consider the following: A computer program is a collection of instructions that performs a specific task when executed by a computer.

.

Thus, the answer is A computer program