Live Quiz Arena
🎁 1 Free Round Daily
⚡ Enter ArenaQuestion
← Logic & PuzzlesWhich outcome occurs when a context-free grammar (CFG) is used to define a formal language with inherently ambiguous structures?
A)Simplified parser implementation is achieved
B)Multiple parse trees become possible✓
C)Deterministic parsing becomes guaranteed
D)Unambiguous meaning of phrases ensured
💡 Explanation
Multiple parse trees become possible because ambiguity in a CFG means the same string can be derived via different production rules using distinct parse trees; therefore, the grammar is not uniquely interpretable, rather than ensuring a single deterministic parse.
🏆 Up to £1,000 monthly prize pool
Ready for the live challenge? Join the next global round now.
*Terms apply. Skill-based competition.
Related Questions
Browse Logic & Puzzles →- An engineer is designing a compiler that translates regular expressions into finite automata. If the regular expression contains nested quantifiers, which effect dominates during automaton construction?
- A network engineer attempts to prove the uniqueness of a shortest path algorithm by assuming a second, distinct shortest path exists. Which consequence follows?
- A factory scheduling system uses the simplex method to optimize production. If a non-basic variable's reduced cost is significantly negative, which outcome follows?
- What happens to the accuracy of a medical diagnostic test when the pre-test probability of disease decreases significantly in a population?
- A network of interconnected sensors monitors a chemical reaction; if a communications outage affects critical nodes, which outcome occurs?
- If an attacker gains access to the private key in an RSA encryption system used for secure email, which consequence follows?
