High and Low Level Language What Is High Level Language?
High and Low Level Language What Is High Level Language?
High and Low Level Language What Is High Level Language?
High level languages are considered "High level" as they are the closest to human
language and very different to machine code (Binary). High level languages contain
English words such as If. Then... Else, While and For which helps to make them easy to
understand and work with. Most applications that people use are written in a high level
language, examples of these languages include Java, Python, Visual Basic, Small
Basic, Ruby...
Each type of CPU has its own set of machine code instructions. A typical machine code
instruction may use 2 bytes (8 bits) and is usually split into three parts - OPCODE,
REGISTER and OPERAND.
Example:
2. Interpreter
-An interpreter translates high-level instructions into an intermediate form
-line by line, which it then executes
-stops the execution of a program as soon as it encounters an error
-In contrast, a compiler translates high-level instructions directly into machine language.
-slow speed of execution of program loops