Computer Programming Language
Computer Programming Language
A programming language is a vocabulary and set of grammatical rules for instructing a computer to perform specific
tasks. It can also be defined as a coded language used by programmers to write instructions that a computer can
understand to do what the programmer wants.
A program is a collection of instructions that performs a specific task when executed by a computer. The physical
can computer machinery that executes the instructions is the hardware.
A computer programmer, programmer, developer, coder or software engineer is a person who writes computer
software. They are also individual that compose instructions for the computer system to refer to when performing
a given action.
The term programming language usually refers to high level languages such as
BASIC (an acronym for Beginner’s All Purpose Symbolic Instruction code) is a family of general purpose, high
level programming languages that was designed by John Gorge Kemeny and Thomas Eugene Kurtz in 1964.
C programming language was developed by Dennis Ritchie in 1972.
C++ programming language was developed by Bjarne Stroustrup
COBOL (an acronym for Common Business Oriented Language). COBOL was designed in 1959 by CODASYL (an
acronym for Conference/Committee on Data Systems Languages) and was partly based on previous
programming language design work by Grace Hopper, commonly referred to as the (grand) mother of COBOL.
FORTRAN (derived from formula translators). It was designed by a team of programmers and was first
published in 1957. The versions of FORTRAN listed by the American National Standards Association (ANSA) are:
- FORTRAN 66 (FORTRAN IV) in 1966, FORTRAN 77 in 1978, FORTRAN 90 in 1990, FORTRAN 95, and FORTRAN
2003.
Pascal Programming language was designed by Nicklaus Wirth in 1968-1969 and published in 1970.
Ada programming language. Ada was originally designed by a team led by John Ichbiah of a Honeywell and was
named after Ada Lovelace (1815-1852) who is credited with being the first computer programmer. Examples
include Java, Perl, and Algol etc.
It is machine independent
It consists of series of instruction codes.
You must adhere to some rules while writing the high-level languages.
It is easy to read and understand.
They are problem oriented.
MEANING OF BASIC
BASIC stands for Beginner All-purpose Symbolic Instruction Code. It is not only simple but also a very
powerful high level programming language. It consists of statements written in English words and
mathematical notation. It is written in a human understandable form.
The two professors, John G. Kemeny and Thomas E. Kurtz developed the language in 1964 at Dartmouth
College, USA, as means of teaching students a simple language for programming a computer.
VERSIONS OF BASIC
i. QBASIC ii. T.BASIC iii. V.BASIC iv. GWBASIC v. Apple Soft BASIC
vi. BASICA – (BASIC ADVANCE)
BASIC Statements
LET Statement
The LET statement permits the programmer to assign numbers and formulas to a variable name.
DATA Statement
The statement (Read and Data) goes hand in hand. Data statement is used to enter data into a program
before running the program or before program execution occurs. The data to be entered into the
program is read from DATA statement.
E.g. 10 READ A, B, C, D
20 DATA 3, 5, 10, 15
INPUT Statement
This allows you to type in data from the keyboard while the program is running. This program will be able
to produce the required result with given data. The input statements have the general format.
10 INPUT A
20 INPUT B
30 INPUT C
IF …THEN … ELSE:
Used to perform comparisons or make decision.
DO…LOOP {WHILE} OR {UNTIL}: Repeat a section of code Forever or while/until the specified condition is
true.
GOSUB: Temporarily jumps to a numbered or labeled line, returning to the following line after
encountering the RETURN command. This is used to implement subroutines.
CLS Statement: This program when executed will clear the screen. It means Clear the Screen
LINE numbers
In BASIC we need a line number for each basic statement. Numbers are positive whole numbers from 1 to
99,999. A line number is always in integer form and this are done to give room for correction when
necessary. It is presented in the format below:
10 ……………………..
20 ……………………..
30 ……………………..
40 …………………….. etc.
Example 3
Write a basic program to calculate and print the sum of two numbers.
Meaning of Gadgets: Gadgets are tools or machines that help to do something. ICT gadgets are
information and communication equipments, which includes computer hardware i.e. printer, etc.
Broadcasting technology i.e. radio, television, other ICT gadgets are ATM, fax machines, mobile phones
etc. ICT gadgets are further explained below;
Mobile Phones: It is an electronic handheld device used to make mobile telephone calls. Common
manufacturers of mobile phones are Nokia, Samsung, and Blackberry e.t.c.
Computer: It is an electronic device for storing and processing data. Computers come in various types which
include Personal Computer (PC), Laptops and Ipad.
Fax Machine: Fax stands for facsimile i.e make a copy. It is a device that can send or receive pictures and text
over a telephone line.
Automated Teller Machine (ATM): ATM commonly called ‘Cash Point’ is a computerized device that provides
the clients of financial institutions access to financial transaction in public space without the need of a cashier,
human clerk or bank teller.
Dispensing Machines (a Vending Machine): It is a machine that dispenses items such as snacks, beverages,
lottery, tickets e.t.c to customers automatically.
Point of Sale Machine or Automated Cash Register (ACR): It is a machine that is used to carry out retail
transactions. It can provide many services such as credit card processing and cash transaction e.t.c
Radio Sets: It is an electronic receiver that detects, demodulates and amplifies transmitted signals.
Television Sets: It is a device used to view television broadcast. Modern television consists of a display, antenna
or radio frequency, input and a tuner.
Satellites: This is an information transmission method through cables or wireless by the use of
satellites dishes.
VSAT: This is advanced telecom equipment for receiving digital broadcast. It stands for very small
aperture terminal (VSAT).