Translators (OCR A-Level Computer Science): Quizzes

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

Practise the questions

12 questions from this quiz

Show

Why are translators needed in programming?

Computers only execute machine code

What does a compiler do with a high-level program?

Translates entire program at once

Why does compiled code execute faster than interpreted code?

It is pre-compiled before execution

What is a major drawback of using a compiler?

Long initial translation time

How does an interpreter translate high-level code?

Line-by-line during runtime

What is a key benefit of using an interpreter during development?

Immediate error feedback

Why is interpreted code slower than compiled code?

Translation happens line-by-line at runtime

What is the relationship between assembly instructions and machine instructions?

One-to-one correspondence

What is a main benefit of using assembly language?

Direct control over hardware

Why is assembly code difficult to port to different systems?

It is hardware-specific

Which translator is best for developing a large commercial software application?

Compiler

Which translator is ideal for scripting and prototyping?

Interpreter

Join 100,000+ A-Level students studying Quizzes with us.

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