Types of programming languages

Types of programming languages

Programming languages are classified into multiple types according to their level, the method of implementing programs, 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 in writing programs, where the commands written in them are called code. Programming, the symbols and vocabulary used in writing the code are close to the vocabulary of the English language, and high-level languages provide the possibility of adding many comments and explanations within the program that the programmer is working on. Which makes these programs easier, and increases their readability and modification by the user himself, or even by other users. The reason for calling this type of language a high-level language is due to its distance from the language that computers understand, and its closeness to the language that humans understand. Therefore, writing programs in this type of language is easier and faster than writing them in low-level programming languages, and high-level languages do not depend on Type of computer; They are designed to work on various computers, regardless of their type or operating system. Examples of this type of programming language include: C#, Java, JavaScript, Python, and SQL.

Low-level programming languages

Low-level programming languages are defined as programming languages that are written using the binary number system represented by the numbers: 0 and 1, so that the computer understands them. Unlike high-level languages, low-level languages are complex and cannot be read by programmers. This involvesโ€ฆ The type of languages has two branches of languages, which are as follows:

Machine language:; It is the language that only computers can understand, and these programs are represented in the binary system, and the process of writing these programs is considered very complicated for programmers, and machine language varies from one computer to another, as programs are created in the processors on the devices, so it cannot Using software written in machine language on one device containing a PowerPC processor on another device containing an Intel processor.
Assembly language:; Assembly language is relatively easier than machine language; This is because it contains some English vocabulary; 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. Programs at this level of programming languages act as a translator that works to convert high-level language programs written by humans into machine language that machines understand, and as is the case in Machine language Assembly languages are non-portable languages; That is, a program written in assembly language cannot be transferred from one computer to another.

Types of programming languages

According to the method of executing programs, interpreted languages are defined as languages whose programming commands are translated and converted into machine language first-hand when written by the translator. Programs of this type of language are not translated into the machine language of the deviceโ€™s processor itself, but rather using a program specific to the same language called The name of the interpreter. Interpreted languages are somewhat slow; Because it converts commands into machine language first hand, and on the other hand, these languages have multiple 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. Program commands written in this type of language are always readable and modifyable, and the Python language is considered one of the examples of this type. Of programming languages.

Translated languages
Translated languages are defined as languages that convert software commands or code into the machine language of the device after the complete writing of the program is completed. The conversion is done from the programming language in which the program was written to the machine language using what is known as a translator. This type of language is characterized by speed of operation. The program is run directly without the need to convert commands first, but programs of this type of programming language 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 considered one of the examples. on this type of programming language.

Types of programming languages

According to their uses, different programming languages are classified according to the type of use as follows:

Application and program development languages: These are the 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. Such as robotics programs, Prolog, Python, AIML, C, C#, and C++ are examples of languages that can be used to develop various artificial intelligence programs. Database development languages: These are the languages that are used by database programmers; With the aim of creating it and maintaining its operation, an example of this type of language is SQL. Game development languages: These are concerned with developing computer games, or any other entertainment programs. Such as C++, Java, C#, and DarkBASIC. Languages for developing computer operating systems: These languages are concerned with developing the programs necessary to create computer operating systems and their various interfaces, and C and Assembly are examples of them. Internet and web page development languages: These languages are considered the basis for the existence of the Internet in the world, through which websites and browsers are designed. HTML, HDML, Java, JavaScript, PHP, XML, and Python are examples of this type of programming languages.

4 comments

Leave a Reply

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