Answer the following Q with stream of consciousness. 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.

Question: written coded commands that tell the computer what task to perform is the definition of?
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. Therefore, the final answer is A computer program.