Programming Languages and IDEs Flashcards
High Level languages
e.g. Python Java
Code is easy to read and understand
Code has to be converted to machine code for computers to understand
Programs will be less memory efficient as there is no control over what the CPU does.
Low level languages
e.g. Machine code and assembly language
Difficult to read and understand
Can be executed without translators
More memory efficient as you control what the CPU does.
Assemblers
turn assembly language to machine code
Compiler
translates all of the code in one go to create and executable file. Final code runs quickly and gives a list of errors.
Interpreter
Translates one line of code at a time and stops if there is an issue. Runs slower than compiler. Interpreter stops after each error which is helpful when debugging
Features of an IDE
Editors - has colour coding for different items and line numbers
Run time environment - lets the programmer run the code quickly to test it for errors
Error diagnostics - includes diagnostics tools to help find and solve errors.
Translator - helps translate the code into machine code.