Consider a grammar G and an erroneous input string w. The minimum number of token insertions and deletions needed to transform w into a string accepted by G is called the:
GATE CSE · Compiler Design
Master topic for Parsing. Includes Syntax Analysis, Top-Down Parsing, Bottom-Up Parsing, Error Detection & Recovery.
143 questions · 0 PYQs · 3 AI practice · GATE CSE 2027
Consider a grammar G and an erroneous input string w. The minimum number of token insertions and deletions needed to transform w into a string accepted by G is called the:
Which of the following best describes the 'error productions' technique for error recovery, and what is its main limitation?
Want unlimited AI-generated Parsing questions?
Sign up free and practice with adaptive difficulty — Easy, Medium, Hard. New questions every session.
Start practising for free →Consider the expression tree shown. Each leaf represents a numerical value, which can either be or . Over all possible choices of the values at the leaves, the maximum possible value of the expression represented by the tree is ___.
