ToC Assignment 66
ToC Assignment 66
S 0 S 1 S 1 S | 1 S 0 S 1 S | 1 S 1 S 0 S |
a) Find the string w generated by the grammar that has two leftmost derivations. Show
the derivations.
b) Show the two derivation trees for the strings.
d) Give the unique leftmost derivation and derivation tree for the string s generated
from the unambiguous grammar above