Programming language

From WikiMD's Wellness Encyclopedia

C Hello World Program
IBM Electronic Data Processing Machine - GPN-2000-001881
Bangalore India Tech books for sale IMG 5261
Python add5 parse
Python add5 syntax

== Programming Language ==

A programming language is a formal language comprising a set of instructions that produce various kinds of output. Programming languages are used in computer programming to implement algorithms. Most programming languages consist of instructions for computers. There are programmable machines that use a set of specific instructions, rather than general programming languages. Since the early 1800s, programs have been used to direct the behavior of machines such as Jacquard looms, music boxes, and player pianos. The programs for these machines (such as a player piano's scrolls) did not produce different behavior in response to different inputs or conditions.

History[edit | edit source]

The first programming languages predate the modern computer. During the 1800s, Ada Lovelace created an algorithm for the Analytical Engine, which is often considered the first computer program. In the 1940s, the first high-level programming languages were developed, including Plankalkül by Konrad Zuse and Assembly language.

Types of Programming Languages[edit | edit source]

Programming languages can be categorized in several ways. The most common classifications are:

Syntax and Semantics[edit | edit source]

The syntax of a programming language is the form of its expressions, statements, and program units. The semantics of a programming language provides the meaning of those expressions, statements, and program units. Syntax is usually defined using a combination of regular expressions (for lexical structure) and Backus–Naur form (for grammatical structure).

Compilation and Interpretation[edit | edit source]

Programming languages are typically either compiled or interpreted. A compiler translates a program written in a high-level language into machine code, which can be executed by a computer. An interpreter directly executes instructions written in a programming or scripting language without requiring them to have been compiled into a machine language program.

Popular Programming Languages[edit | edit source]

Some of the most popular programming languages include:

See Also[edit | edit source]


WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD