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.
- A. Compiler front end
Why not A: “Compiler front end” is not correct. 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
- B. Loader
Why not B: “Loader” is not correct. 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
- C. Just-in-time (JIT) compilation
Why not C: “Just-in-time (JIT) compilation” is not correct. 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
- D. Assembler ✓
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
- What term describes the following? a program that combines multiple object files generated by a compiler into...
- In computer science, Linker refers to which of the following?
- Select the correct name for: a program that loads an executable file into memory and prepares it for execution...
- Which statement correctly explains Loader?
- Which concept is defined as follows: a parsing strategy that builds a parse tree starting from the input token...
- What is Bottom-up parsing primarily used for?