nerdexam
CompTIA

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.

Software Development

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)
  • A
    4% (1)
  • C
    92% (24)
  • D
    4% (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.

AMarkup language

Markup languages (e.g., HTML, XML) are used for structuring and presenting data, not for general-purpose programming or high-performance computation.

BScripting language

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.

CCompiled languageCorrect

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.

DInterpreted language

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

#compiled languages#interpreted languages#programming language types#performance optimization

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice