What does Grammar ambiguity refer to?
Difficulty: Hard
- A. A compiler capable of creating executable code for a platform other than the one on which the compiler itself runs.
- B. A technique that compiles code into machine instructions at runtime rather than before execution.
- C. A property of a formal grammar where a single string can be produced by more than one distinct parse tree. ✓
- D. A parsing strategy that builds a parse tree starting from the start symbol and working down toward the input tokens.
Correct answer
C. A property of a formal grammar where a single string can be produced by more than one distinct parse tree.
Correct answer
Source: Compiler Design Official Reference Guide
Tags: computer science, compiler design, compilers, programming languages
Submitted by: MCQsHub Editorial
Related MCQs
- What is the name for the use of regular expressions by a lexical analyzer to define and recognize valid tokens...
- Select the accurate description of Top-down parsing.
- The following statement describes a specific concept. What is it called? a parsing strategy that builds a pars...
- Identify the correct concept described as: a technique that compiles code into machine instructions at runtime...
- What is Bottom-up parsing primarily used for?
- Just-in-time (JIT) compilation is best defined as which of the following?