WEEK 8 - PROGRAMMING LANGUAGE
WEEK 8 - PROGRAMMING LANGUAGE
Levels of Languages
1. Low Level languages are programming languages that are closer to the machine code and
hardware architecture of a computer. These languages provide a more direct and fine-
grained control over the computer’s resources, making them suitable for tasks that require
optimization, precision, and interaction with hardware at a low level.
There are mainly two low-level language examples and they are basically the category in
which we divide the low-level language they are
Machine Language: They include binary Codes.
Assembly Language: Uses mnemonic codes
Machine Language
Machine language is the lowest-level programming language. It is a binary code consisting of
0s and 1s that the computer can directly execute. The machine language instructions are
specific to the computer’s architecture, and they vary from one computer to another.
ADVANTAGES OF MACHINE LANGUAGE
1. A translator is not necessary for machine language.
2. The CPU directly executes the machine language or low-level instructions.
3. Compared to other goods, those created in machine language are significantly quicker.
4. These machine codes are employed in the creation of advanced computer systems.
1. The main drawback of machine language is how difficult it is to develop, learn, and execute
codes and algorithms.
2. It is pretty time-consuming to fix flaws and mistakes in codes and programs.
3. Only some people can memorize or even write the code.
4. It is platform independent language.
Assembly Language
Assembly language is a low-level programming language that uses mnemonic codes to
represent machine language instructions. These mnemonic codes are easier to read and
remember than binary codes. Assembly language is specific to the computer’s architecture,
and it must be translated into machine language before the computer can execute it.
2. High level language: They are highly developed languages and are currently used by
programmers in the world today. It involves the use of English to write programming
instructions.
Types of high level programs
BASIC
FORTRAN
COBOL
PASCAL
C – Language (C++)
JAVA
ADVANTAGES OF HIGH LEVEL LANGUAGE
1. High-level languages are designed to be easy to read and write.
2. High-level languages are typically designed to be platform-independent, meaning that they
can be run on a variety of different systems without needing to be rewritten.
3. While high-level languages may not be as fast as lower-level languages, they are often
more efficient than their low-level counterparts. This is because they are optimized for
readability and ease of use, which can make them easier to optimize and improve
performance.
4. High-level languages can increase productivity because they allow programmers to write
code more quickly and with fewer errors.