Exam-style question
Try this first
Which statement best describes a key performance difference between compiled and interpreted programs?.
- A.Compiled programs typically execute faster than interpreted programs because the translation happens once before execution.
- B.Interpreted programs do not require any translation before running.
- C.Compiled programs require interpretation at every execution.
- D.Interpreted programs always produce standalone executables.
Answer and explanation
Concise answer
Compiled programs typically execute faster than interpreted programs because the translation happens once before execution.
Why this is correct
Option 0 correctly states that compiling completes translation before execution, resulting in generally faster program execution than interpretation, which translates during runtime. Other options are incorrect: interpreted programs require an interpreter each time and do not create executables.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
