Interpreters and compilers (Edexcel GCSE Computer Science): Quizzes
📚Quizzes
Practise the questions
13 questions from this quiz
ShowHide
Practise the questions
13 questions from this quiz
Why must programs be translated before running?
Why must programs be translated before running?
Computers only understand machine code
How does a compiler translate source code?
How does a compiler translate source code?
All at once before running
What is the machine code version created by a compiler called?
What is the machine code version created by a compiler called?
Object code
Why do compiled programs run faster than interpreted ones?
Why do compiled programs run faster than interpreted ones?
Already translated to machine code
How does a compiler protect source code?
How does a compiler protect source code?
Can share executable without code
When does a compiler report errors in the code?
When does a compiler report errors in the code?
At the end of compilation
What is a disadvantage of compiled programs?
What is a disadvantage of compiled programs?
Platform-specific executables
How does an interpreter translate code?
How does an interpreter translate code?
Line by line whilst running
What is an advantage of interpreters for error detection?
What is an advantage of interpreters for error detection?
Stops immediately at errors
Why are interpreters considered cross-platform?
Why are interpreters considered cross-platform?
Same code runs on different OS
Why do interpreted programs run more slowly?
Why do interpreted programs run more slowly?
Each line translated every time
What type of language do assemblers translate?
What type of language do assemblers translate?
Assembly language
What relationship exists between assembly and machine code?
What relationship exists between assembly and machine code?
One-to-one correspondence
