Source Code IF COUNT=10 GOTO END-OF-JOB ELSE GOTO COMPUTE-AGAIN ENDIF Assembly Language Machine Language Compare A to B Compare 3477 2883 If equal go to C If = go to 23732 Go to D Go to 23119 Machine Code 10010101001010001010100 10101010010101001001010 10100101010001010010010
No Language, Just Wires |
---|
In 1946, the ENIAC was programmed by plugging wires from one socket to another. That led to the plugboards on tabulating machines and later to programming languages. See tabulator and Hollerith machine. (Image courtesy of Rare Book & Manuscript Library, University of Pennsylvania.) |
a formal symbolic system used for human communication with a digital computer. The programming language is designed to describe data (information) and algorithms (programs) for data processing by a computer. Examples of programming languages are ALGOL, COBOL, and FORTRAN; machine languages are also programming languages.
Programming languages occupy an intermediate position between natural languages and formal, or formalized, languages. They are similar to the former in grammatical structure (use of words from natural languages, presence of a phrase structure, and so on); they resemble formal languages in the use of mathematical symbols and concepts, but most importantly because they have strict, precisely described rules for constructing texts in the programming language and expressing the meaning of such texts. The principal use of programming languages is as a means of programming, that is, for writing programs and running them on digital computers.