edited by
749 views
1 votes
1 votes

Which of the following is false for derivation tree of CFG-  $G (V, T, P, S)$ ?

  1. The root is labeled $S$.
  2. Every leaf has a label from $V ⋃ T ⋃ \{ λ \}$.
  3. A vertex with a child labeled $λ$ can only have it as the rightmost child.
  1. $\text{1 & 3}$
  2. $\text{1 & 2}$
  3. $\text{2 & 3}$
  4. $\text{Only 2}$
edited by

1 Answer

0 votes
0 votes

Ans--C        ....    considering derivation tree for string in Language.

1) starting symbol will be root True.

2)Leaf node will contain symbol from {T} U {epsilon}, so False

3) epsilon can be anywhere, so False.

Related questions

0 votes
0 votes
0 answers
3