Derivation of a string from a Context-Free Grammar

What is a parse tree in the context of context-free grammars?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

In a grammar for balanced parentheses, what does the production rule S → (S) represent?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

What is the difference between terminal and nonterminal symbols in a CFG?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

For the grammar S → aSb | ab, what string would be generated after applying the derivation S → aSb → aaSbb → aaabbb?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

In the grammar E → E + T | T; T → T * F | F; F → (E) | id, what precedence relationship does the grammar enforce?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

When building a parse tree interactively, what determines which production rule to choose for a selected node?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

For the balanced parentheses grammar S → (S) | SS | ε, to generate the string '(())()', which rule should be applied first to the start symbol?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

In the string generation grammar S → aSb | ab, what is the relationship between the number of 'a's and 'b's in any generated string?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

What happens if you try to build a parse tree for a string that is not in the language generated by the grammar?
Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation

Explanation