Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. The use of a single token to direct a parse is called single-symbol ____.? in

ID: 3570321 • Letter: 1

Question

1. The use of a single token to direct a parse is called single-symbol ____.?

           

           

            interpretation

            prediction

            directives

            lookahead

2. A parser that commits itself to a particular action based only on a lookahead is called a(n) ____ parser.?

           

           

            foresight

            insightful

            predictive

          exhaustive

3. ____ are symbols used to distinguish between parts of a rule.?

           

           

            Distinguishers

            Identifiers

            Metasymbols

            Abstract characters

4. A context-free grammar has a special nonterminal called the ____ symbol which stands for the entire top-level phrase being defined.?

           

           

            initial

            start

            forward

            abstract

5. Ada uses a(n) ____ for its if-statements.?

           

           

            enclosing keyword

            bracketing keyword

            closest nested first disambiguation

dynamic disambiguation rules

Explanation / Answer

1 directives

2 predictive

3 Metasymbols

4    start

5   closest nested first disambiguation