2.5.1 Languages Flashcards
What is high-level language?
Written by humans and contain keywords and syntax that programmers understand
What are examples of high level languages?
Python
The C family of languages
Java / JavaScript
Visual Basic / .Net
PHP
Delphi
BASIC
What common terminology do high level languages share?
‘if’
‘while’
‘until’
What is low-level language?
More difficult to read and write, and they are much closer to direct instructions that a computer can understand
Often used to directly control hardware
What is an example of low-level languages?
Machine code - can execute commands directly without translation
What do modern translators include?
Compilers
Interpreters
What are compliers?
high-level languages
Convert programs as a whole machine code programs
Fail if errors are found and the process must then begin again
What are interpreters?
Examine high-level language file one at a time and convert each instruction into compatible machine code instructions
Slower than compilers
Being able to translate while a program is running means that errors within specific line of code can be identified quickly