Which category of programming language provides little or no abstraction from hardware and maps closely to processor instructions?

Prepare for the CodeHS AP Computer Science Principles Exam with multiple choice questions, detailed explanations, and helpful hints. Boost your confidence and get ready for your exam!

Multiple Choice

Which category of programming language provides little or no abstraction from hardware and maps closely to processor instructions?

Explanation:
Abstraction level in programming languages is what this item highlights. A low-level programming language provides little or no abstraction from the hardware, mapping almost directly to processor instructions. That means you write code that corresponds closely to what the CPU will execute, with direct control over memory and registers, and it typically requires more detail and effort but offers the most precise hardware control. Assembly language and machine code are classic examples of this level. This fits best because it emphasizes being close to how the hardware actually runs code, unlike high-level languages that introduce layers of abstraction to make development easier. Scripting languages are also high-level and geared toward rapid development, while markup languages aren’t programming languages at all—they’re used to structure or format data rather than perform computations. So, this category is the lowest level of abstraction, directly tying to processor instructions.

Abstraction level in programming languages is what this item highlights. A low-level programming language provides little or no abstraction from the hardware, mapping almost directly to processor instructions. That means you write code that corresponds closely to what the CPU will execute, with direct control over memory and registers, and it typically requires more detail and effort but offers the most precise hardware control. Assembly language and machine code are classic examples of this level.

This fits best because it emphasizes being close to how the hardware actually runs code, unlike high-level languages that introduce layers of abstraction to make development easier. Scripting languages are also high-level and geared toward rapid development, while markup languages aren’t programming languages at all—they’re used to structure or format data rather than perform computations.

So, this category is the lowest level of abstraction, directly tying to processor instructions.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy