Jump to content

Program (machine)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hu741f4 (talk | contribs) at 20:12, 13 March 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A program is a set of instructions used to control the behavior of a machine. Examples of such 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 computer program (software) is 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.
  • The automatic flute player, which was invented in the 9th century by the Musa brothers in Baghdad, a major centre of learning at the time, is the first known example of a programmable machine. The work of the Banu Musa was influenced by their Hellenistic forebears, but it also makes significant improvements over Greek creation.[1][2][3] In 1206, the Muslim inventor Al-Jazari (in the Artuqid Sultnate) invented programmable automata, which incorporated the first programmable drum machine.[4]

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).

References

  1. ^ Koetsier, Teun (2001-05-01). "On the prehistory of programmable machines: musical automata, looms, calculators". Mechanism and Machine Theory. 36 (5): 589–603. doi:10.1016/S0094-114X(01)00005-2. ISSN 0094-114X.
  2. ^ Koetsier, Teun (2001), "On the prehistory of programmable machines: musical automata, looms, calculators", Mechanism and Machine Theory, 36 (5), Elsevier: 589–603, doi:10.1016/S0094-114X(01)00005-2.
  3. ^ Kapur, Ajay; Carnegie, Dale; Murphy, Jim; Long, Jason (2017). "Loudspeakers Optional: A history of non-loudspeaker-based electroacoustic music". Organised Sound. 22 (2). Cambridge University Press: 195–205. doi:10.1017/S1355771817000103. ISSN 1355-7718.
  4. ^ Professor Noel Sharkey, A 13th Century Programmable Robot (Archive), University of Sheffield, 2007