Program (machine)

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A program is a set of instructions used to control the behavior of a machine, often a computer (in this case it is known as a computer program).

Examples of programs include:

The execution of a program is a series of actions following the instructions it contains. Each instruction produces effects that alter the state of the machine according to its predefined meaning.

While some machines are called programmable, for example a programmable thermostat or a musical synthesizer, they are in fact just devices which allow their users to select among a fixed set of a variety of options, rather than being controlled by programs written in a language (be it textual, visual or otherwise).