Programming intro
Definition
Concepts
Different languages
Source code
Writing programs
Summary

Programming

Java

Markup

First webpage guide HTML
XHTML

Style & Layout

CSS

Browser scripting

Javascript
VBScript
AJAX

Server scripting

PHP
ASP

Making money online

Make money online

The different types of languages

There is a lot that can be done with computer programming, however not any language can do anything. There are limitations. Different languages are used for different tasks.

This lesson focuses on:

Web languages

Web languages are languages that are used for creating and editing web documents. Web languages can do anything from putting plain text on a webpage, to accessing and retrieving data from a database, and they vary greatly in terms of power and complexity.

A list of some web languages along with a short description of each:

Software application languages

Software application languages are languages that are used for the purpose of creating executable programs. Software application languages can create anything from simple console programs that print some text to the screen to entire operating systems and they vary greatly in terms of power and complexity.

A list of some software application languages along with a short description of each:

The different generations of languages

There are currently five generations of computer programming languages. In each generation, the languages syntax has become easier to understand and more human-readable.

A brief description of each generation and a demonstration of the evolution between each one:

Procedure oriented programming

Procedure-oriented programming is a programming paradigm where a structured method of creating programs is used. With procedure-oriented programming, a problem is broken up into parts and each part is then broken up into further parts. All these parts are known as procedures. A main program centrally controls all these procedures.

Some procedure-oriented languages are COBOL, FORTRAN, and C.

Object oriented programming

Object-oriented programming is a programming paradigm where data types of data structures are defined by the programmer as well as their properties and the things that can be done with them. With object-oriented programming, programmers can also create relationships between data structures and create new data types based on existing ones by inheriting characteristics from one data type to another.

In object-oriented programming, data types defined by the programmer are called classes. For example, if you were to create a data type that represents a vehicle - you could create a Vehicle class. Some of the properties of this class would be details about the vehicle such as model, year, color, and mileage. Some of the things that can be done with this class would include drive, reverse, open door, and park.

Some object-oriented languages are C++, Java, and PHP.

Practice

Online code editor
Practical examples
Practical exercises
Step-by-step tutorials

Reference

Terms glossary
Reference material

Rate this site

Rate this site
Visitor comments