Which of the following is an example of a high-level programming language mentioned?

Study for the CodeHS AP Computer Science Principles (CSP) Exam. Prepare with flashcards and multiple choice questions, each question comes with hints and explanations. Get ready for success!

Multiple Choice

Which of the following is an example of a high-level programming language mentioned?

Explanation:
High-level programming languages provide abstractions that let you write code in a way closer to human thinking, with loops, conditionals, functions, and readable syntax. They’re designed to be portable across different hardware, using a compiler or interpreter to translate the code into the machine instructions the computer can execute. Fortran is a classic example of a high-level language. It enables scientists and engineers to express computations without worrying about the processor’s exact instructions, and it can run on different machines because a translator converts the code into the appropriate machine language. The other options operate at lower levels: machine code is the raw binary instructions the CPU executes directly; assembly language uses mnemonics to represent those instructions but is still tightly tied to a specific processor; binary code refers to the actual 0s and 1s that hardware understands.

High-level programming languages provide abstractions that let you write code in a way closer to human thinking, with loops, conditionals, functions, and readable syntax. They’re designed to be portable across different hardware, using a compiler or interpreter to translate the code into the machine instructions the computer can execute.

Fortran is a classic example of a high-level language. It enables scientists and engineers to express computations without worrying about the processor’s exact instructions, and it can run on different machines because a translator converts the code into the appropriate machine language.

The other options operate at lower levels: machine code is the raw binary instructions the CPU executes directly; assembly language uses mnemonics to represent those instructions but is still tightly tied to a specific processor; binary code refers to the actual 0s and 1s that hardware understands.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy