Different Types of Computer Language
Different Types of Computer Language
1. Machine Language
The machine language is sometimes referred to as machine code or object code which is a set of binary
digits 0 and 1. These binary digits are understood and read by a computer system and interpreted easily.
It is considered a native language as it can be directly understood by a central processing unit (CPU). The
machine language is not so easy to understand, as the language uses the binary system in which the
commands are written in 1 and 0 form which is not easy to interpret. There is only one language that is
understood by computer which is machine language. The operating system of the computer system is
used to identify the exact machine language used for that particular system.
The operating system defines how the program should write so that it can be converted to machine
language and the system takes appropriate action. The computer programs and scripts can also be
written in other programming languages like C, C++, and JAVA. However, these languages cannot be
directly understood by a computer system so there is a need for a program that can convert these
computer programs to machine language. The compiler is used to convert the programs to machine
language which can be easily understood by computer systems. The compiler generates the binary file
and executable file.
01001000 0110101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100
01100100
2. Assembly Language
The assembly language is considered a low-level language for microprocessors and many other
programmable devices. The assembly language is also considered a second-generation language. The
first generation language is machine language. The assembly language is mostly famous for writing an
operating system and also in writing different desktop applications. The operations carried out by
programmers using assembly language are memory management, registry access, and clock cycle
operations. The drawback of assembly language is the code cannot be reused and the language is not so
easy to understand. The assembly language is considered a group of other languages. It is used to
implement the symbolic representation of machine code which is used to program CPU architecture.
The other name of assembly language is assembly code. For any processor, the most used programming
language is assembly language.
In assembly language, the programmer does the operation which can be directly executed on a central
processing unit (CPU). The language has certain drawbacks as it does not contain any variables or
functions in programs and also the program is not portable on different processors. The assembly
language uses the same structure and commands which machine language does use but it uses names in
place of numbers. The operations performed using the assembly language is very fast. The operations
are much faster when it is compared to high-level language.
3. High-Level Language
The development of high-level language was done when the programmers face the issue of writing
programs as the older language has portability issues which means the code written in one machine
cannot be transferred to other machines. This led to the development of high-level language. The high-
level language is easy to understand and the code can be written easily as the programs written are
user-friendly in a high-level language. The other advantage of code written in a high-level language is
the code is independent of a computer system which means the code can be transferred to other
machines. The high-level of language uses the concept of abstraction and also focuses on programming
language rather than focusing on computer hardware components like register utilization or memory
utilization.
JAVA
The JAVA programming language is an object-oriented language that is based on objects and classes.
The main motto of the development of this language is to make a computer program run on any system.
JAVA code is machine-independent code means the code needs to be written once and can be executed
on any machine. The memory management is done automatically in the java programming language.
The C is a procedural and general-purpose programming language used for writing programs. This
language is mostly used for writing operating system applications and desktop applications.
PASCAL
Pascal is a procedural programming language that is based on data structures. It uses the concept of
recursive data structures such as graphs, lists, and graphs.