2.5 Languages and IDEs Flashcards
Why does the computer needs to translate the high-level code before it is executed?
Converts it into machine code (binary) because the processor can only understand machine code.
Does a compiler or an interpreter translate the code in one go?
Compiler
Which translator creates an executable?
Compiler
Which translator stops when it finds an error?
Interpreter
Which translator reports an error at the end?
Compiler
True or false? An interpreter translates the code in one go.
False
True or false? A compiler translate the code line-by-line.
False
True or false? A compiler translates the code in one go.
True
True or false? An interpreter executes line-by-line.
True
True or false? A compiler reports an error at the end.
True
What are the four tools of IDEs?
Editor
Error diagnostics
Run-time environment
Translator