Programming languages

From Wikiversity - Reading time: 2 min

Instructions for this lesson

[edit | edit source]

Contents

[edit | edit source]

Programming languages are the method used to instruct a computer in how to accomplish a task.

A programming language is a collection of operators and instructions, with specific rules or syntax regarding how the instructions are placed together. Various operations can be combined in an almost infinite number of ways to achieve the tasks we want the computer to perform.

Low-Level Languages

[edit | edit source]

Some programming languages are bound to a particular set of hardware, commonly called Low-Level languages. Low-level languages will consist of a very small amount of abstraction to no abstraction from the computers set architecture. This language is able to covert to machine code, without the need of an interpreter. It will run the program straight on the processor. Typically, low-level languages are simple and will run very quickly. An example of a low-level language is Assembly, where the target is for a particular CPU instruction set. See Wikipedia: Low-level programming language for more information.

High-Level Languages

[edit | edit source]

Other languages are more abstract from the hardware, and are known as High-Level languages. High-Level languages will consist of a large amount of abstraction from the computers set architecture. A lot of the time, High-Level languages will use natural language aspects, which makes it easier to use and can automate areas found in the computing systems. This language can make the development of programs simpler and significantly easier to understand, compared to a Low-Level language. An example of a high level language is Java. See Wikipedia: High-level programming language for more information.

Other Information

[edit | edit source]

Early generations of computer languages were mostly procedural in nature. Theory taught that code should be logically divided, but left that division up to the programmer. More recently, Object Oriented languages have become more prominent. These languages encourage a more logical division of code.

One thing that should be noted is that programming languages are tools, and every tool has its strengths and weaknesses. While a high level language isolates a programmer from hardware, the programmer loses the ability to directly control that hardware. Choosing the right tool for a problem is very important.

Questions for self-test

[edit | edit source]

Multimedia

[edit | edit source]

See also: programming languages

[edit | edit source]

Category:Programming languages - An overview of many different languages


See also

[edit | edit source]

Licensed under CC BY-SA 3.0 | Source: https://en.wikiversity.org/wiki/Programming_languages
33 views | Status: cached on November 22 2024 04:42:29
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF