Skip to content

Compiler Design

What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input grammar?

Difficulty: Hard

About this MCQ

This Hard Compiler Design MCQ checks one syllabus fact.

The question is: “What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input grammar?”

The accepted answer is B. Recursive descent parser. Recursive descent parser is the fact required by What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input grammar option B Option A Parse tree does not match the stem it is a near-miss used to catch incomplete recall of Recursive descent parser Option C Symbol table does not match the stem it is a near-miss used to catch incomplete recall of Recursive descent parser Remaining alternatives Code generation fall outside the same rule and should be eliminated once Recursive descent parser 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.

Correct answer

B. Recursive descent parser

Explanation

Recursive descent parser is the fact required by What is the name for a top-down parsing technique that uses a set of recursive procedures to process the input grammar option B Option A Parse tree does not match the stem it is a near-miss used to catch incomplete recall of Recursive descent parser Option C Symbol table does not match the stem it is a near-miss used to catch incomplete recall of Recursive descent parser Remaining alternatives Code generation fall outside the same rule and should be eliminated once Recursive descent parser 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.

Source: Compiler Design Official Reference Guide

Tags: computer science, compiler design, compilers, programming languages

Submitted by: MCQsHub Editorial

Related MCQs

More Compiler Design MCQs