FC0-U61 · Question #671
A programmer wants to use a programming language in which high performance is a requirement. Which of the following language types is the BEST option?
The correct answer is C. Compiled language. For applications requiring high performance, a compiled programming language is the best option because its code is directly translated into machine-executable form before runtime.
Question
A programmer wants to use a programming language in which high performance is a requirement. Which of the following language types is the BEST option?
Options
- AMarkup language
- BScripting language
- CCompiled language
- DInterpreted language
How the community answered
(26 responses)- A4% (1)
- C92% (24)
- D4% (1)
Why each option
For applications requiring high performance, a compiled programming language is the best option because its code is directly translated into machine-executable form before runtime.
Markup languages (e.g., HTML, XML) are used for structuring and presenting data, not for general-purpose programming or high-performance computation.
Scripting languages are typically interpreted and prioritize ease of use and rapid development over raw execution speed, making them less suitable for high-performance needs.
Compiled languages are translated directly into machine code by a compiler before execution, allowing for optimizations and direct hardware interaction, which generally results in significantly higher performance compared to interpreted languages. This pre-compilation step eliminates the overhead of translation during runtime.
Interpreted languages execute code line by line at runtime via an interpreter, incurring overhead that generally makes them slower than compiled languages for performance-critical applications.
Concept tested: Programming language types - compiled vs. interpreted performance
Source: https://learn.microsoft.com/en-us/visualstudio/get-started/csharp/whats-a-compiler?view=vs-2022
Topics
Community Discussion
No community discussion yet for this question.