nerdexam
(ISC)2

CSSLP · Question #125

Which of the following programming languages are compiled into machine code and directly executed by the CPU of a computer system? Each correct answer represents a complete solution. Choose two.

The correct answer is A. C D. C++. C and C++ are programming languages that are typically compiled directly into machine code, allowing them to be executed natively by the CPU.

Secure Software Implementation

Question

Which of the following programming languages are compiled into machine code and directly executed by the CPU of a computer system? Each correct answer represents a complete solution. Choose two.

Options

  • AC
  • BMicroosft.NET
  • CJava EE
  • DC++

How the community answered

(24 responses)
  • A
    92% (22)
  • B
    4% (1)
  • C
    4% (1)

Why each option

C and C++ are programming languages that are typically compiled directly into machine code, allowing them to be executed natively by the CPU.

ACCorrect

C is a classic low-level programming language that is typically compiled directly into machine code, which the computer's CPU can execute natively and efficiently without the need for an interpreter or virtual machine.

BMicroosft.NET

Microsoft .NET languages (like C#, VB.NET) are typically compiled into an intermediate language (IL), which is then executed by the Common Language Runtime (CLR) via Just-In-Time (JIT) compilation to machine code, not directly compiled to machine code for the CPU.

CJava EE

Java EE applications are written in Java, which is compiled into bytecode that runs on a Java Virtual Machine (JVM), not directly into machine code for the CPU.

DC++Correct

C++ is an extension of C that also compiles directly into machine code, enabling high performance and direct hardware interaction when executed by the CPU, making it suitable for systems programming and resource-intensive applications.

Concept tested: Compiled programming languages

Topics

#Programming languages#Compilation#Execution model#Native code

Community Discussion

No community discussion yet for this question.

Full CSSLP Practice