Which statement is true about programming languages?

Prepare for the eLearnSecurity Junior Penetration Tester exam with our comprehensive quiz platform. Improve your skills with multiple-choice questions, detailed explanations, and exam tips. Get exam ready with ease!

Multiple Choice

Which statement is true about programming languages?

Explanation:
The main idea here is how code gets turned into something a computer can run. A compiler is a program that translates high-level source code into machine code before execution, which is a traditional and widely used way to produce an executable. This makes the statement that programming languages require a compiler the best fit among the options because many languages rely on some translation step to run. The other claims don’t hold as generally true. Scripting languages often run via interpreters or runtimes rather than needing a separate compiler in the traditional sense. Not all languages are interpreted—some are compiled, some are compiled to intermediate forms and then executed. And programming languages typically can access external libraries through linking or imports, not something inherent that would make the statement false.

The main idea here is how code gets turned into something a computer can run. A compiler is a program that translates high-level source code into machine code before execution, which is a traditional and widely used way to produce an executable. This makes the statement that programming languages require a compiler the best fit among the options because many languages rely on some translation step to run.

The other claims don’t hold as generally true. Scripting languages often run via interpreters or runtimes rather than needing a separate compiler in the traditional sense. Not all languages are interpreted—some are compiled, some are compiled to intermediate forms and then executed. And programming languages typically can access external libraries through linking or imports, not something inherent that would make the statement false.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy