An algorithm that has been coded into something that can be run by a machine.

Study for the Code.org Computer Science Discoveries Test. Engage with flashcards and multiple choice questions, each with hints and explanations. Get prepared for your exam!

Multiple Choice

An algorithm that has been coded into something that can be run by a machine.

Explanation:
A program is a runnable artifact that contains the steps of an algorithm coded for a computer. An algorithm provides the exact steps to solve a problem, and when you write it in code, you create a program—the collection of instructions the machine can execute. Within a program you might have functions or procedures, which are blocks of code that perform specific tasks, but they’re parts of the whole program rather than the entire runnable entity. A variable, on the other hand, is just a place to store data; it doesn’t execute instructions. So the description of an algorithm that has been coded into something a machine can run points to a program.

A program is a runnable artifact that contains the steps of an algorithm coded for a computer. An algorithm provides the exact steps to solve a problem, and when you write it in code, you create a program—the collection of instructions the machine can execute. Within a program you might have functions or procedures, which are blocks of code that perform specific tasks, but they’re parts of the whole program rather than the entire runnable entity. A variable, on the other hand, is just a place to store data; it doesn’t execute instructions. So the description of an algorithm that has been coded into something a machine can run points to a program.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy