What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.
Difficulty: Medium
About this MCQ
This Medium Compiler Design MCQ checks one syllabus fact.
The question is: “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.”
The accepted answer is B. Linker. Linker is the fact required by “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.” (option B). Option A (“Grammar ambiguity”) does not match the stem; it is a near-miss used to catch incomplete recall of Linker. Option C (“Bottom-up parsing”) does not match the stem; it is a near-miss used to catch incomplete recall of Linker. Remaining alternatives (Peephole optimization) fall outside the same rule and should be eliminated once Linker 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. Grammar ambiguity
Why not A: “Grammar ambiguity” is not correct. The accepted answer is B. Linker. Linker is the fact required by “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.” (option
- B. Linker ✓
- C. Bottom-up parsing
Why not C: “Bottom-up parsing” is not correct. The accepted answer is B. Linker. Linker is the fact required by “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.” (option
- D. Peephole optimization
Why not D: “Peephole optimization” is not correct. The accepted answer is B. Linker. Linker is the fact required by “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.” (option
Correct answer
B. Linker
Explanation
Linker is the fact required by “What term describes the following? a program that combines multiple object files generated by a compiler into a single executable program.” (option B). Option A (“Grammar ambiguity”) does not match the stem; it is a near-miss used to catch incomplete recall of Linker. Option C (“Bottom-up parsing”) does not match the stem; it is a near-miss used to catch incomplete recall of Linker. Remaining alternatives (Peephole optimization) fall outside the same rule and should be eliminated once Linker 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
- The concept in which a program that translates assembly language source code into machine code is best known a...
- 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?
- The following statement describes a specific concept. What is it called? a parsing strategy that builds a pars...