Programming language
== 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:
- High-level programming languages: These languages are closer to human languages and further from machine languages. Examples include Python, Java, and C++.
- Low-level programming languages: These languages are closer to machine languages and further from human languages. Examples include Assembly language and machine code.
- Procedural languages: These languages are based on the concept of procedure calls. Examples include C and Pascal.
- Object-oriented languages: These languages are based on the concept of "objects", which can contain data and code. Examples include Java, C++, and Python.
- Functional languages: These languages are based on mathematical functions. Examples include Haskell and Lisp.
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]
- Computer programming
- Software development
- Algorithm
- Compiler
- Interpreter (computing)
- Syntax (programming languages)
- Semantics (computer science)
- List of programming languages
This article is a Programming language-related stub. You can help WikiMD by expanding it!
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 |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. 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