Er. Bed Kaushik Blog

Let's Learn Together

HIGH-LEVEL VS LOW-LEVEL PROGRAMMING LANGUAGES

HIGH-LEVEL VS LOW-LEVEL PROGRAMMING

Computer Languages are used to write computer programs. There are two board categories of programming languages i.e. Low level and high-level languages. We will discuss briefly High Level vs Low-Level Programming Languages in this article.

1. LOW-LEVEL LANGUAGES:

Low-level languages are divided into two broad languages i.e. machine and assembly language.

MACHINE  LEVEL LANGUAGE:

 Machine Language is the native language of the microprocessor (Computer). The computer does not need any translator to understand machine level language. Programs written in any other language must be converted to machine language instruction consists of strings of binary 0’s and 1’s. As it is very difficult for human beings to remember long sequences, therefore writing programs in machine language is very difficult and error-prone. So it was thought to replace the long sequences of 0’s and 1’s in machine language with English like words. The idea provided by the basis for the development of the assembly language.

ASSEMBLY  LEVEL LANGUAGE:

In assembly language, machine language instructions (long sequences of 0’s and 1’s) are replaced with English like words are also known as mnemonics. Assembler translator is used for the assembly language to convert the program into machine language.

2. HIGH-LEVEL LANGUAGES:

Programming Languages whose instructions are likely similar to the English language are called high-level languages. Every high-level programming language defines a set of rules for writing programs called the syntax of the language. Every instruction in the high-level language must conform to its syntax. If there found any syntax error in the program, it is reported by the language translator. The program does not translate into machine language unless the error is removed.

Some common high-level languages are C, Java, C++, FORTRAN, BASIC, and COBOL, etc. Although each of these languages was designed for a specific purpose; all are used to write a variety of application software. Some of these languages such as C and C++ are used to write system software as well. Each of these languages has some advantages and disadvantages over the other e.g. FORTRAN has very powerful mathematical capabilities while the COBOL is ideal for writing business applications, C and C++ are very handy for writing system software while Java is equipped with strong network programming features.

CHARACTERISTICS OF HIGH-LEVEL LANGUAGES:

  • There are English like languages, hence are close to human languages and far from the machine languages and very easy to learn

  • Programs written in high-level languages are easy to modify and debug and more readable

  • These languages let the programmers concentrate on the problem being solved rather than human-machine interaction.

  • These describe a well-defined way of writing programs

  • These do not require a deep of an understanding of the machine architecture

  • High-level languages provide machine independence. It means programs written in a high-level language can be executed on many different types of computers with a little modification. For Example, programs are written in C can be executed on the Intel processor as well as on Motorola processors.

Leave comment

Your email address will not be published. Required fields are marked with *.