Skip to content

Compiler Design

The concept in which a program that translates assembly language source code into machine code is best known as which of these terms?

Difficulty: Medium

About this MCQ

This Medium Compiler Design MCQ checks one syllabus fact.

The question is: “The concept in which a program that translates assembly language source code into machine code is best known as which of these terms?”

The accepted answer is D. Assembler. “The concept in which a program that translates assembly language source code into machine code is best known as which of these terms” is answered by Assembler (option D). Option A (“Compiler front end”) does not match the stem; it is a near-miss used to catch incomplete recall of Assembler. Option B (“Loader”) does not match the stem; it is a near-miss used to catch incomplete recall of Assembler. Remaining alternatives (Just-in-time (JIT) compilation) fall outside the same rule and should be eliminated once Assembler is identified. Compiler Design questions of this type reward precise definitions rather than approximate associations. Compiler Design recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Correct answer

D. Assembler

Explanation

“The concept in which a program that translates assembly language source code into machine code is best known as which of these terms” is answered by Assembler (option D). Option A (“Compiler front end”) does not match the stem; it is a near-miss used to catch incomplete recall of Assembler. Option B (“Loader”) does not match the stem; it is a near-miss used to catch incomplete recall of Assembler. Remaining alternatives (Just-in-time (JIT) compilation) fall outside the same rule and should be eliminated once Assembler is identified. Compiler Design questions of this type reward precise definitions rather than approximate associations. Compiler Design recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Source: Compiler Design Official Reference Guide

Tags: computer science, compiler design, compilers, programming languages

Submitted by: MCQsHub Editorial

Related MCQs

More Compiler Design MCQs