Exam-style question
Try this first
Which statement correctly describes a difference between high-level and low-level programming languages?.
- A.High-level languages are always faster to execute than low-level languages.
- B.Low-level languages are translated by interpreters, while high-level languages are translated by compilers.
- C.High-level languages are generally more portable across different hardware platforms than low-level languages.
- D.Low-level languages require less memory to store the source code than high-level languages.
Answer and explanation
Concise answer
High-level languages are generally more portable across different hardware platforms than low-level languages.
Why this is correct
High-level languages abstract hardware details, making them more portable. Low-level languages are typically hardware-dependent. Execution speed is often (but not always) faster for well-optimised low-level code. Translators can be either compilers or interpreters for both, and source code size isn't a defining difference in this context.
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.
