×

Classification of Programming language

 Classification of Programming language 

The programming language represents a set of instructions compiled along with each other to perform a specific task provided by the CPU (Central Processing Unit). A programming language chiefly focuses on high-level languages such as C, CPP, Pascal, COBOL, ADA, etc. 

Every programming language consists of a unique set of keywords and syntax used to create a set of instructions. Hundreds and thousands of programming languages have been developed so far, yet each language has its unique, specific purpose. 

These languages may vary in the level of abstraction provided by the hardware components. Many of the programming languages provide less or null abstraction, whereas others provide much higher abstraction. 

Depending on the level of abstraction provided by the hardware components, it can be classified into two categories such as:

  1. High-level language
  2. Low-level language

1. High-level Programming Language

The high-level programming languages are easy and seem like the English language. They are easy to understand; the statements are readable and pass specific instructions to the computer. The languages are always program-oriented. It is the language that is independent of the machine that it runs on. They have more readability than others, and it is easy to debug, portability is increased, software development is easy in these high-level programming languages. E.g., C, PASCAL, FORTRAN, BASIC, COBOL, etc.

2. Low-level Programming Language 

The standard languages and provides no abstraction from the hardware components are categorized under low-level language. It is the language that directly corresponds to a particular machine that it is running on. It is represented in zeros and ones that are used to represent the machine instructions.

The low-level programming languages can be divided into the following two types of languages, such as:

  • Machine level languages
  • Assembly level languages

Machine Level Languages 

Machine-level languages direct the code and the data that run directly on the computing device. The registers are used to store values and intermediate results. 

Low-level machine instructions such as addition, subtraction, division, and so on operate on memory or registers. Lack of memory management support will be provided.

It is carried out in the hardware of the machine; hence it is machine-independent. Machine code is generally written in hexadecimal code. These are the languages that are interpreted directly in the hardware.

Assembly Level Language

It is an encoding of the machine code into something readable format. It is mainly used to assign the human-readable names or labels to store the storage locations, jump the targets, and subroutine the starting addresses. It is considered to be isomorphic to the machine language. These are the thin wrapper on a corresponding machine language.

Note: Perl is considered a high-level language and a scripting language, while C is considered a high-level language and system language. Some of the languages are partially visual, but type bits of code are present.

Technical aspects of the languages will consider the linguistic structures, possibility of efficient implementation, expressive features, support for programming models, and other concerns.

We have some other types of languages, which include the following:

  • System language: These are the languages designed for low-level tasks, such as memory management and process management.They differ from application to application. They are more concerned with managing a computer system rather than solving general problems in health care, finance, gaming, etc. They are usually responsible for memory management, process management, data transfer, caches, device drivers, etc.
  • Scripting language: It is the language that tends to be high-level and is much powerful compared to other languages. The scripting level languages are used for wiring the systems together and applying them at a high level. These languages are generally expensive as they do more work with minimal lines of code and are usually dynamic as the compiler does less work. In contrast, the run time system runs everything and does most of the job.
  • Domain-specific language: It is the type of language that is used in particular contexts. 
  • Visual languages: These are the type of language that are not text-based programs. 
  • Esoteric language: Languages that are fun and not intended for actual usage. An esoteric level language is intended and is not taken very seriously as we does the other languages. It can be a joke, minimalistic and non-deterministic.

Related Topics

Null character in C

Introduction The Null character in the C programming language is used to terminate the character strings. In other words, the Null character is used to represent the end of the string...

3 minutes read.

What is required in each C Program?

Each C program must require one function, i.e., main() function. It is because when we execute the C program, C compiler looks for the main() function, and from here only...

5 minutes read.

Pre-increment and Post-increment in C

The rich set of operators is supported by the c language. In c there are several operators used. The mathematical operations in the programming language are done with the operators...

4 minutes read.

Do-While Loop in C

Both 'While' and 'Do-While' loops in C mostly have a similar concept, and the code of both loops runs for mainly similar purposes in the same manner. But, there is...

3 minutes read.

Local Labels in C

Anyone who has written programs in the C programming language is required to be familiar with the "go to" and "labels" used in C to navigate between functions. "Local labels"...

4 minutes read.

C Token

C Token and Keyword The C tokens are the basic buildings blocks in C language which are constructed together to write a C program. Each and every smallest individual unit in the C program is...

2 minutes read.

Type Casting in C

Type casting is a way to convert a variable from one data type to another data type.Syntax: (type) expression;     Example: #include <stdio.h> int main() { int a,b; float sum; printf("Example of Type Casting\n"); printf("Enter any integer nos:"); scanf("%d",&a,&b); sum=a+b; printf("Sum: %f",sum); return 0; } Output Example...

1 minute read.

How to move a text in C

A text can be moved to the desired location in the output based on the coordinates provided in the gotoxy() function. What is gotoxy() function? In C language, gotoxy() is a pre-defined...

3 minutes read.

Random function in C

Random function in C In the C programming language, the rand() is a function used for Pseudo Random Number Generator (PRNG). The random number generated by the rand() function is not...

4 minutes read.

If else Programs in C Programming

If else Programs in C programming The if-else statement in C is based on some particular conditions to perform the operations. If and only if the given condition is valid, the operations listed in...

4 minutes read.

Difference between C and Java

C programming and Java programming are two of the earliest programming languages. C programming follows a procedural approach whereas Java programming follows an object-oriented approach. Java programming is a part...

3 minutes read.

Sum of digits in C++

Sum of digits in C++ There are various ways to find the sum of the digits of a number in C++. We can use containers like arrays or other simple cases...

4 minutes read.

Actual and Formal Parameters

Any variable declared within the parenthesis is referred to as the parameters during the function declaration. Parameters tell the function about the argument datatype, their order, and the number of...

5 minutes read.

Goto and Labels in C

Introduction Goto in C: The goto statement is known as the jump statement in C. The goto is used to transfer the control of a program to a predefined label. The goto...

3 minutes read.

Compilation Process in C language

What is the Compilation Process?  The compilation is a method whereby the source code is converted into object code. It is achieved with compiler assistance. The compiler tests the source code for syntactic...

3 minutes read.

Run Time Polymorphism in C

What is polymorphism? Polymorphism refers to the existence of various forms. Polymorphism can be simply defined as a message's capacity to be presented in multiple forms. An individual who can have...

4 minutes read.

How to Merge Array in C?

Introduction Merging arrays is a common task for many developers but might be difficult for beginners of C programming. Fortunately, our guide will show you how to quickly merge arrays in...

6 minutes read.

C Function Argument and Return Values

Functions in the C programming language are declared to avoid repeatedly writing a performable block of code; it is the same in any programming language. When it comes to the...

3 minutes read.

Structure in C

Why Structure came into the picture? In the actual world, we deal with entities that are collections of objects rather than tiny bits of data like integers, characters, floats, etc. So,...

4 minutes read.

Types of Array in C

What is an Array? One value can be stored in a variable at once. How many variables will you need if you have 100 values? Well, the answer isn't 100. It...

14 minutes read.