The following statement describes a specific concept. What is it called? a program that translates an entire source program written in a high-level language into machine code before execution.
Difficulty: Medium
About this MCQ
This Medium Compiler Design MCQ checks one syllabus fact.
The question is: “The following statement describes a specific concept. What is it called? a program that translates an entire source program written in a high-level language into machine code before execution.”
The accepted answer is D. Compiler. The following statement describes a specific concept What is it called a program that translates an entire source program written in a high-level language into machine code before execution is answered by Compiler option D Option A Symbol table does not match the stem it is a near-miss used to catch incomplete recall of Compiler Option B Token does not match the stem it is a near-miss used to catch incomplete recall of Compiler Remaining alternatives Syntax analysis fall outside the same rule and should be eliminated once Compiler 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.
- A. Symbol table
Why not A: “Symbol table” is not correct. The accepted answer is D. Compiler. The following statement describes a specific concept What is it called a program that translates an entire source program written in a high-level language into machine code before
- B. Token
Why not B: “Token” is not correct. The accepted answer is D. Compiler. The following statement describes a specific concept What is it called a program that translates an entire source program written in a high-level language into machine code before
- C. Syntax analysis
Why not C: “Syntax analysis” is not correct. The accepted answer is D. Compiler. The following statement describes a specific concept What is it called a program that translates an entire source program written in a high-level language into machine code before
- D. Compiler ✓
Correct answer
D. Compiler
Explanation
The following statement describes a specific concept What is it called a program that translates an entire source program written in a high-level language into machine code before execution is answered by Compiler option D Option A Symbol table does not match the stem it is a near-miss used to catch incomplete recall of Compiler Option B Token does not match the stem it is a near-miss used to catch incomplete recall of Compiler Remaining alternatives Syntax analysis fall outside the same rule and should be eliminated once Compiler 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.
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- Which concept is defined as follows: a categorized unit of meaning, such as a keyword or identifier, produced...
- Which term refers to a program that executes source code directly, translating and running it line by line wit...
- Which statement correctly explains Parse tree?
- What does Interpreter refer to?
- Select the correct name for: a tree representation showing the syntactic structure of source code according to...
- What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input...