Skip to content

Compiler Design

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.

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

More Compiler Design MCQs