Difference between revisions of "Program (machine)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
Line 1: Line 1:
 
A '''program''' is a list of [[instructions]] written in a [[programming language]] that is used to control the behavior of a [[machine]].
 
A '''program''' is a list of [[instructions]] written in a [[programming language]] that is used to control the behavior of a [[machine]].
 
(TO DO: expand, organize, cross-reference, illustrate.)
 
  
 
== Description ==
 
== Description ==
Line 23: Line 21:
 
== See also ==
 
== See also ==
  
 +
* [[Algorithm]]
 +
* [[Computer]]
 
* [[Computer program]]
 
* [[Computer program]]
 
* [[Execution]]
 
* [[Execution]]
Line 28: Line 28:
 
* [[Programming language]]
 
* [[Programming language]]
 
* [[Machine]]
 
* [[Machine]]
 +
* [[Software]]
  
 
== External Links ==
 
== External Links ==
  
 
* [https://en.wikipedia.org/wiki/Program_(machine) Program (machine)] @ Wikipedia
 
* [https://en.wikipedia.org/wiki/Program_(machine) Program (machine)] @ Wikipedia

Revision as of 06:54, 4 February 2016

A program is a list of instructions written in a programming language that is used to control the behavior of a machine.

Description

Computer programs control the behavior of computers.

Examples of programs include:

  • The sequence of cards used by a Jacquard loom to produce a given pattern within weaved cloth. Invented in 1801, it used holes in punched cards to represent sewing loom arm movements in order to generate decorative patterns automatically.
  • A file containing a list of instructions to be executed by a computer.
  • Barrels, punched cards and music rolls encoding music to be played by player pianos, fairground organs, barrel organs and music boxes.

Execution

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.

See also

External Links