ICT SS1 WK8 PROGRAMMING LANGUAGE I
ICT SS1 WK8 PROGRAMMING LANGUAGE I
Lesson Period: 2
Assembly language is nothing more than a symbolic representation of machine code, which also allows
symbolic designation of memory locations. Thus, an instruction to add the contents of a memory location
to an internal CPU register called the accumulator might be add a number instead of a string of binary
digits (bits).
No matter how close assembly language is to machine code, the computer still cannot understand it. The
assembly-language program must be translated into machine code by a separate program called an
assembler. The assembler program recognizes the character strings that make up the symbolic names of
the various machine operations, and substitutes the required machine code for each instruction. At the
same time, it also calculates the required address in memory for each symbolic name of a memory
location, and substitutes those addresses for the names. The final result is a machine-language program
that can run on its own at any time; the assembler and the assembly-language program are no longer
needed. To help distinguish between the "before" and "after" versions of the program, the original
assembly-language program is also known as the source code, while the final machine-language program is
designated the object code.
If an assembly-language program needs to be changed or corrected, it is necessary to make the changes to
the source code and then re-assemble it to create a new object program.
Machine language is described above.
HIGH LEVEL LANGUAGE (HLL)
A high-level programming language is a programming language with strong abstraction from the details of
the computer. In comparison to low-level programming languages, it may use natural language elements, be
easier to use, or may automate (or even hide entirely) significant areas of computing systems (e.g. memory
management), making the process of developing a program simpler and more understandable relative to a
lower-level language. The amount of abstraction provided defines how "high-level" a programming language
is. Examples of high-level programming languages include FOCUS, Lisp, Perl, Python, and SAS.
Types of high level language
There are five types of high level language. They are:
1. Scientific language
2. Multi-purpose language
3. Commercial language
4. Command language for operating system
5. Special purpose programming language.
1. Scientific Language
This is the language that is used for scientific and engineering purposes. Examples include FORTRAN –
Formula Translator, BASIC – Beginner All-purpose Symbolic Instruction Codes. It combines the features of the
extensive arithmetic computational ability and the ability to handle mathematical expression.
2. Multi-Purpose
This type of high level programming language can cope with a number of different types of application areas.
Examples of multi-purpose language are Visual BASIC, PL/I, C++, Java etc.
3. Commercial Language
This type of program was first developed by the American Government Defensive Department to create a
common administrative language for internal and external use. The prominent language is COBOL (Common
Business Oriented Language).
4. Command for Operating System
This programming language is used to control the operating system. An example is DOS Commands (Disk
Operating System commands.)
5. Special Purpose Language
This programming language is designed for a specific assignment. It is tailored towards a particular problem.
E.g Structured Query Language.