Programming languages

From Wikiversity

Jump to: navigation, search
Crystal Clear app kaddressbook.png
Please help develop this page

This page was created, but so far, little content has been added. Everyone is invited to help expand and create educational content for Wikiversity. If you need help learning how to add content, see the editing tutorial and the MediaWiki syntax reference.

To help you get started with content, we have automatically added references below to other Wikimedia Foundation projects. This will help you find materials such as information, media and quotations on which to base the development of "Programming languages" as an educational resource. However, please do not simply copy-and-paste large chunks from other projects. You can also use the links in the blue box to help you classify this page by subject, educational level and resource type.

Wikipedia-logo.png Run a search on Programming languages at Wikipedia.
Commons-logo.svg Search Wikimedia Commons for images, sounds and other media related to: Programming languages
Wikimedia-logo.svg Search for Programming languages on the following projects:
Smiley green alien whatface.svg Lost on Wikiversity? Please help by choosing project boxes to classify this resource by:

Contents

[edit] Instructions for this lesson

[edit] Contents

Programming languages are the method used to instruct a computer on 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.

Some programming languages are bound to a particular set of hardware, commonly called "low level" languages. An example of a low level language is Assembly, where the target is for a particular CPU instruction set. Other languages are more abstract from the hardware, and are known as "high level" languages. An example of a high level language is Java.

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.

[edit] Questions for self-test

[edit] See also: programming languages

Category:Programming Languages - An overview of many different languages