nerdexam
CompTIA

FC0-U61 · Question #502

Which of the following is an example of a compiled computer language?

The correct answer is C. Java. Java is a compiled programming language where source code is translated into an intermediate bytecode before execution, making it an example of a compiled language.

Software Development

Question

Which of the following is an example of a compiled computer language?

Options

  • APerl
  • BHTML
  • CJava
  • DPython

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    88% (44)
  • D
    6% (3)

Why each option

Java is a compiled programming language where source code is translated into an intermediate bytecode before execution, making it an example of a compiled language.

APerl

Perl is primarily an interpreted language, where code is executed line by line by an interpreter without a separate, explicit compilation phase by the user.

BHTML

HTML is a markup language used for structuring web content, not a programming language, and it is interpreted by web browsers.

CJavaCorrect

Java is a compiled language where source code is converted into bytecode, which is then executed by a Java Virtual Machine (JVM). This compilation step happens before execution, optimizing performance and catching errors early.

DPython

Python is generally considered an interpreted language, executing code directly through an interpreter, though it internally compiles to bytecode for efficiency.

Concept tested: Compiled vs. interpreted languages

Source: https://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html

Topics

#compiled language#programming languages#Java

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice