Program (machine)


A program is a set of data or instructions that controls the behavior of a machine. Examples include:

Mechanisms

Some programmable equipment and appliances only allow their users to select predefined options and/or set predefined parameters. The user is not required or allowed to write a computer program.
  • The "program" of a programmable thermostat consist of user-changeable parameters in the entries of a schedule.
  • The "program" or patch of a programmable music synthesizer adjusts parameters and switches that interconnect modules.
  • The "program" of many programmable integrated circuits is data that it permanently stores for retrieval, and/or govern operation.

    Computers

  • A computer program is a list of instructions that can be executed by a computer.
When a programmable computer, programmable calculator, or programmable logic controller executes a program, its processor follows the instructions or commands that the program contains. Each instruction produces effects that alter the state of the machine according to its predefined meaning.