Skip to content
World MCQ Forum

A compiler differs from an interpreter because a compiler:

Correct answer: D. Translates the whole program at once before running it

A compiler converts the whole source program into machine code ahead of time. An interpreter translates and runs it one statement at a time.

medium

Answer and explanation

The correct answer is D. Translates the whole program at once before running it

A compiler converts the whole source program into machine code ahead of time. An interpreter translates and runs it one statement at a time.

Topic: Hardware, Software and Security MCQs · Subject: Computer