Introduction to Software Programming
We have heard the
programming, many times, on
the internet, and on magazines, and other media. What is really
Programming is the science of writing a logic, in a particular way, so
accomplish a task, or to enable a function. The machine which is used
translate and execute this logic, is known as a 'computer'.
Think about it as
plan, to be executed in a
machine, to achieve
a particular purpose. The big plan could consist of a series of small
which are translated into a language, that is understandable by the
Usually, it is a computer. And then the computer executes it, and gives
result. It is basically a series of logic, executed in a machine, like
to get certain results, or to do a certain function.
There are many
programming languages, in the
There were early languages, like Basic, Fortran, Cobol, C, Pascal, and
more. They were structured, and had their own rules, operators and
labels were known as keywords. For
instance, in the programming language C, you have operators, keywords,
One would write
statements of logic, using them,
To transform a
logic, one had to use the rules, operators and keywords of the
programming language, and put it in a
format, that could be executed in the computer. This format is known as
program. One would execute the program in a computer, to get their
results, or to perform an action.
Now that we know,
is a programming language,
explore what are the types of programming languages.
have two types of
programming languages. Low
programming languages and high level programming languages.
have the lowest
level of programming, which is
language. This language uses binary notation, as the means of a
language. Now as we know, binary numbers, are of the base 2, and
consists of 0
and 1. The machine language consists of commands, which are made up of
of binary. This language has built in directives, which consist of the
of binary, which control the components of the computer, and also the
peripherals that are attached to it.
is a language
above the machine language.
is known as assembly language. In this language, we use hexadecimal
also known as hex codes, to program. These hex codes are converted into
language binary strings, which are executed in the computer.
we come the high
level languages, like, Basic,
Cobol, C, Pascal, Java and C++. These
languages, are programmed in the English language, using statements.
statements consist of constants, variables, operators, and keywords.
weave a logic, with data or
without it, to
achieve a result. These languages also have a scope for data types, and
with large amounts of data using their own defined data structures. The
may be of type numeric, or non numeric.