11.5.1.1 classify programming languages into low-level and high-level languages
11.5.1.2 compare high-level and low-level programming languages
Low-level PL vs high-level PL
What is a programming language (PL)?
A programming language is a vocabulary and set of grammatical rules for instructing a computer to perform specific tasks.
A programming language is a set of commands, instructions, and other syntax use to create a software program.
According to Wikipedia, there are about 700 programming languages.
A computer program is a list of instructions that enable a computer to perform a specific task.
Programming languages are basically classified into two main categories – low-level language and high-level language.
Computer programs can be written in high- and low-level languages, depending on the task and the hardware being used.
Difference between low-level PL and high-level PL
Low-level PL
High-level PL
Low-level languages are used to write programs that relate to the specific architecture and hardware of a particular type of computer.
They are closer to a computer's native language (binary), making them harder for programmers to understand.
High-level languages are written in a form that is close to our human language, enabling programmers to focus on the problem being solved.
No particular knowledge of the hardware is needed, as high-level languages create programs that are portable and not tied to a particular computer or microchip.
These programmer-friendly languages are called ‘high level’ as they are far removed from the machine code instructions understood by the computer.
Closer to the natural language of a computer (binary)
Often relates to the specific architecture and hardware of a particular type of computer
One line of low-level code usually becomes one line of machine code
Close to human language
Statements are easier to understand for humans than a low-level language
No knowledge of a computer hardware is needed
Portable (can be used on different types of computers)
One line of high-level code usually becomes many lines of machine code