Difference between revisions of "What is Programming?"

From CompSciWiki
Jump to: navigation, search
Line 1: Line 1:
 +
'''Programming''', simply put, is the act of writing computer programs.  In order for a computer to do anything it must run programs.  ''etc...  is that definition circular?  or just weird?''
  
 +
==Programming Languages==
 +
Programming languages are written languages that allow people to specify how a computer should behave.
 +
 +
There are three major families of programming languages:
 +
*imperative languages
 +
*functional languages
 +
*declarative languages
 +
 +
===Imperative Languages===
 +
Imperative languages are the most commonly-used types of programming languages.  They differ from other types of languages in that each line of code, or statement, tells the computer to do something: read this file, print this sentance, etc...  Imperative languages are generally the simplest languages for beginners, but offer enough depth and control that advanced programmers make use of them too.
 +
 +
Some of the best-known imperative languages are:
 +
*Java
 +
*C/C++
 +
*Pascal
 +
*BASIC (Visual Basic, QuickBasic, VB.net)
 +
 +
 +
===Functional Languages===
 +
 +
 +
===Declarative Languages===
 +
 +
 +
==Anatomy of a Program==
 +
==The Programming Process==
 +
==Review Questions and Exercises==

Revision as of 15:19, 22 February 2007

Programming, simply put, is the act of writing computer programs. In order for a computer to do anything it must run programs. etc... is that definition circular? or just weird?

Programming Languages

Programming languages are written languages that allow people to specify how a computer should behave.

There are three major families of programming languages:

  • imperative languages
  • functional languages
  • declarative languages

Imperative Languages

Imperative languages are the most commonly-used types of programming languages. They differ from other types of languages in that each line of code, or statement, tells the computer to do something: read this file, print this sentance, etc... Imperative languages are generally the simplest languages for beginners, but offer enough depth and control that advanced programmers make use of them too.

Some of the best-known imperative languages are:

  • Java
  • C/C++
  • Pascal
  • BASIC (Visual Basic, QuickBasic, VB.net)


Functional Languages

Declarative Languages

Anatomy of a Program

The Programming Process

Review Questions and Exercises