Which of the following is NOT a characteristic of interpreters?
Source: JAMB · 2024
Which of the following is NOT a characteristic of interpreters?
Explanation
Interpreters translate and run code one line at a time, not all at once. This is opposite of compilers which translate everything before running. Interpreters read a line, execute it, then move to the next.
Line-by-line execution helps catch errors immediately. This makes debugging easier but runs slower than compiled code. Compilers translate everything at once before execution.
Python and JavaScript commonly use interpreters. You can run code immediately without waiting for compilation.
Was this explanation helpful?
Something wrong or missing? Tell us — we read every report and fix issues fast.