Tuesday, March 17, 2009

Form 2: Introduction to programming

1. What is programming?
Programming refers to the act of instructing the computer to do something for us
with the help of programming language.

2. What is a programming language?
A Programming Language is a set of rules that provides a way of telling the
computer what operation to perform (according to Capron and Johnson,2004)

3. What programming languages are available?
Before looking at a specific programming language, we need to know the levels of
programming languages.

Language is said to be “lower” or “higher” depending on how close they are to the
language the computer itself uses or to the language people use (more English-likehigh).

These programming languages are generally divided into five levels or generations :-
a. Machine Language
b. Assembly Language
c. High-Level Language
d. Very High-Level Language
e. Natural Language

4. Examples of Programming Languages.
Examples of programming languages are :-
a. BASIC
b. COBOL
c. PASCAL
d. C
e. FORTRAN
f. VISUAL BASIC
g. C++
h. JAVA

a. Example of C programming:


b. Example of Visual Basic