IDE + Translator + Errors Flashcards
Features of IDE
Editor where code can be written and edited. Includes tools like colour coding, auto indents etc
Error diagnostic- helps to locate syntax errors in the code and suggests possible fixes
Run time environment- where the output of the code is shown when run
Translators- to translate the code from high level to low level language
Compiler
. Translates all the code at once
. Returns a list of errors
. Creates an executable file of compiled code
. Compiled code can run independently
Interpreter
. Translates line by line
. Stops when error is found
. Interpreter is needed every time the code is run
High level
. Code understood and used by people
. Uses English like words
. Needs to be translated into machine code for the computers processor to run it
Low level
. Code that the computers processor can understand
. Difficult for programmers to use
. Binary/ machine code
Syntax error
Code will not run as the rules of the programming language have been broken
Logic error
The code will still run but will give an unexpected output