Skip to content

Compiler Design

Which term refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree?

Difficulty: Hard

About this MCQ

This Hard Compiler Design MCQ checks one syllabus fact.

The question is: “Which term refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree?”

The accepted answer is D. Grammar ambiguity. Grammar ambiguity is the person body or term that satisfies Which term refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree option D Option A Just-in-time JIT compilation does not match the stem it is a near-miss used to catch incomplete recall of Grammar ambiguity Option B Loader does not match the stem it is a near-miss used to catch incomplete recall of Grammar ambiguity Remaining alternatives Type checking fall outside the same rule and should be eliminated once Grammar ambiguity 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.

Correct answer

D. Grammar ambiguity

Explanation

Grammar ambiguity is the person body or term that satisfies Which term refers to a property of a formal grammar where a single string can be produced by more than one distinct parse tree option D Option A Just-in-time JIT compilation does not match the stem it is a near-miss used to catch incomplete recall of Grammar ambiguity Option B Loader does not match the stem it is a near-miss used to catch incomplete recall of Grammar ambiguity Remaining alternatives Type checking fall outside the same rule and should be eliminated once Grammar ambiguity 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.

Source: Compiler Design Official Reference Guide

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

Submitted by: MCQsHub Editorial

Related MCQs

More Compiler Design MCQs