Programming languages are classified into several types according to their level, the way programs are implemented, and their uses as follows:
Types of programming languages according to their level
High level programming languages
High-level programming languages include programming languages that use a format familiar to programmers when used to write programs, where the commands written in them are called code, and the symbols and vocabulary used in writing the code are close to the vocabulary of the English language, High-level languages also provide the ability to add a lot of comments and explanations within the program that the programmer is working on; Which makes these programs easier, and increases their readability, and modification from the user himself, or even from other users.
The reason why this type of language is called high-level languages is because it is far from the language that the computer understands, and is close to the language understood by humans, so writing programs through this type of language is easier and faster than writing them in low-level programming languages, and high-level languages do not depend on computer type ; They are designed to work on different computers, regardless of their type, or their operating system. [3] Examples of this type of programming language are; C#, Java, JavaScript, Python, SQL.
Low-level programming languages
Low-level programming languages are defined as programming languages that are written through the binary number system represented by the numbers: 0, 1, so that the computer understands them, unlike languages High-level, low-level languages are complex, and unreadable by programmers , and this type of language includes two branches of languages,which are the following:
- Machine language: (English: Machine Language); It is the language that only computers can understand, and these programs are represented by the binary system, and the process of writing these programs is a very complicated matter for programmers, and the language of the machine varies from one computer to another, where programs are created in the processors on the devices, and therefore cannot be Using machine-language software on a device that has a PowerPC processor on another machine that has an Intel processor.
- Assembly language: (English: Assembly Language); Assembly language is relatively easier than machine language; This is because it contains some vocabulary of the English language; Such as the word add and the word sub for example, which makes its programs easier to read and understand compared to machine language programs, and programs of this level of programming languages act as a translator that converts high-level human-written language programs into machine language that machines understand, and as in Machine Language Assembly languages are not portable; That is, a program written in assembly language cannot be transferred from one computer to another.
Types of programming languages according to the way programs are implemented
interpreted languages
Interpreted languages are defined as languages whose programming commands are translated and converted to machine language as they are written by the translator. Programs of this type of language are not translated into the machine language of the processor itself, but rather by using a special program for the language itself called Interpreter name.
Interpreted languages are a bit slow; Because it converts commands into machine language on a regular basis, and on the other hand, these languages have many advantages, including; The ability to run the program on different computers and on multiple operating systems, as this requires downloading a copy of the programming language on the device on which the program is to be run, and the commands of programs written in this type of language are permanently readable and modified, and Python is one example on this type of programming languages.
Translated languages
Compiled languages are defined as languages that convert software commands or code into the machine language of the device after the completion of writing the entire program, and the conversion from the programming language in which the program was written to the machine language is done using what is known as the compiler. This type of language is characterized by the speed of operation; Where the program is run directly without the need to convert commands first hand, but programs of this type of programming languages cannot be transferred and run on devices running operating systems different from those contained in the device on which the program was written, and the C language is one of the examples on this type of programming languages.
Types of programming languages according to their uses
The different programming languages are classified according to the type of use as follows:
- Application and software development languages: They are languages that are concerned with developing various programs and applications that the user deals with daily. C, C#, C++, Java, and Visual Basic are the most famous examples of this type of programming languages.
- Artificial Intelligence Development Languages: These are the languages for developing artificial intelligence programs; As bots, Prolog, Python, AIML, C, C#, and C++ are examples of languages that can be used to develop various AI software .
- Database development languages: the languages that are used by grammar code programmers; With the aim of creating and maintaining its functioning, an example of this type of language is SQL.
- Game development languages: These are those concerned with developing computer games , or any other entertainment programs; C++, Java, C#, and DarkBASIC.
- Computer hardware operating system development languages: These languages are concerned with developing programs needed to create computer hardware operating systems and their various interfaces, C and Assemply are examples of them.
- Language development of the Internet and web pages: These languages based on the existence of the Internet in the world, through which web design internet , and Mtcefhatha, and considered languages HTML, and HDML, and the Java, and JavaScript, and PHP, and XML, and Python examples of this type of programming languages.