What is a low / high level language? Why are both needed? (Low level…
What is a low / high level language? Why are both needed?
Low level languages
MB - A programming language that provides little to no complexity
commands or functions in the language map closely to processor instructions
Low level assembly language/machine code is very hard to be understood by people but can be processed by a computer very quickly. Most people write programs in high level langauges and then the program is chnaged into low level code whenthe developer is finished.
Low level can convert to machine code without interpreter
Assembler - A language that doesn't require much knowledge to use.
High level languages
enables a programmer to write programs that are more or less independent of a particular type of computer
MB - A programming language that arranging complexity in a computer system
Enables programmer/s to write the script independently.
High level langauges are languages that are easily read and understood by programmers like C and Python. They are slow to be processed by a computer and can not be directly understood by the CPU.
Java - The language is a lot closer to the computers one so it doesn't take ages translating it. Its a lot harder to understand compared to a low level language.
Why are both needed?
In terms of difficulty to understand high level code can easily be understood by people but not computers and low level code can be understood by computers easily but not people. Both are needed so people and computers can understand code.
High level are easier to understand and are more user friendly, Low level languages are used to create OS's or writing firmware codes for micro-controllers.
Both are needed to write up the code for different complexity levels of programs. Platform Dependencies, Speed, Easiness, Performance, Translation, Flexibilities and Support.
MB - They are both needed as they both have different uses and can be used differently.
For people of different skill levels. One would be used for more complex codes and one would be used for smaller tasks.