Skip to content

Compiler Design

Select the correct name for: a program that loads an executable file into memory and prepares it for execution.

Difficulty: Medium

About this MCQ

This Medium Compiler Design MCQ checks one syllabus fact.

The question is: “Select the correct name for: a program that loads an executable file into memory and prepares it for execution.”

The accepted answer is D. Loader. “Select the correct name for: a program that loads an executable file into memory and prepares it for execution.” is answered by Loader (option D). Option A (“Peephole optimization”) does not match the stem; it is a near-miss used to catch incomplete recall of Loader. Option B (“Bytecode”) does not match the stem; it is a near-miss used to catch incomplete recall of Loader. Remaining alternatives (Linker) fall outside the same rule and should be eliminated once Loader 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. Loader

Explanation

“Select the correct name for: a program that loads an executable file into memory and prepares it for execution.” is answered by Loader (option D). Option A (“Peephole optimization”) does not match the stem; it is a near-miss used to catch incomplete recall of Loader. Option B (“Bytecode”) does not match the stem; it is a near-miss used to catch incomplete recall of Loader. Remaining alternatives (Linker) fall outside the same rule and should be eliminated once Loader 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