Interpreters and compilers (Edexcel GCSE Computer Science): Quizzes

📚Quizzes
Interpreters and compilers
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

13 questions from this quiz

Show

Why must programs be translated before running?

Computers only understand machine code

How does a compiler translate source code?

All at once before running

What is the machine code version created by a compiler called?

Object code

Why do compiled programs run faster than interpreted ones?

Already translated to machine code

How does a compiler protect source code?

Can share executable without code

When does a compiler report errors in the code?

At the end of compilation

What is a disadvantage of compiled programs?

Platform-specific executables

How does an interpreter translate code?

Line by line whilst running

What is an advantage of interpreters for error detection?

Stops immediately at errors

Why are interpreters considered cross-platform?

Same code runs on different OS

Why do interpreted programs run more slowly?

Each line translated every time

What type of language do assemblers translate?

Assembly language

What relationship exists between assembly and machine code?

One-to-one correspondence

Join 100,000+ GCSE students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.