programming language and its types



What is a language?

Language is the medium of communication to share ideas, opinion with each other. For an example, if we want to communicate with someone, we need a language it may be English, Hindi, Spanish or another language. But you need at least one language to communicate with someone (human/person).
What is a programming language?

To communicate with a person, you need a language. Same if you need to communicate with the computer, you need a programming language. Without any programming language you cannot communicate with the computer.
Thus, programming language is the medium of communication between you (a person) and a computer system. It is the set of some instructions written in a specific style (coding) to instruct the computer to do some specific task.
Types of computer programming languages

There are basically three types of computer programming languages, they are
1.     Low level programming languages
2.     High level programming languages
3.     Middle level programming languages             

 High level language


                                                                                        

Advantages of High-Level Languages



The main advantage of high-level languages over low-level languages is that they are easier to read, write, and maintain. Ultimately, programs written in a high-level language must be translated into machine language by a compiler or interpreter.
The first high-level programming languages were designed in the 1950s. Now there are dozens of different languages, including Ada, Algol, BASICCOBOL, C, C++, FORTRAN, LISP, Pascal, and Prolog.

Low  level  language
  • ·        A low-level language is a programming language that deals with a computer's hardware components and constraints. It has no (or only a minute level of) abstraction in reference to a computer and works to manage a computer's operational semantics.
  • ·         A low-level language may also be referred to as a computer’s native language.
  • ·        Low-level languages are designed to operate and handle the entire hardware and Low-level instructions set architecture of a computer directly. languages are considered to be closer to computers.
  • ·        In other words, their prime function is to operate, manage and manipulate the computing hardware and components. Programs and applications written in a low-level language are directly executable on the computing hardware without any interpretation or translation.
  • ·        Machine language and assembly language are popular examples of low-level language.


     Middle  level  language
·    
  •      Medium-level language (MLL) is a computer programming language that interacts with the abstraction layer of a computer system. Medium-level language serves as the bridge between the raw hardware and programming layer of a computer system.
  • ·        Medium-level language is mainly an output of the programming source code written in a higher-level language. It is designed to improve the translated code before it is executed by the processor. The improvement process helps to adjust the source code in accordance with the computational framework of the target machine.
  • ·        The source code of the medium-level language is not directly executable by the CPU as it’s an intermediate step before being converted into machine code. However, after it's analyzed by the primary software program, the medium-level language is interpreted into machine code for execution.



vv

Comments

Popular posts from this blog

Introduction of Digital computer

INTRODUCTION OF DBMS

Introduction to cache memory