Answer
a) Yes
b) No
c) Yes
d) No
Work Step by Step
Using top-down parsing to determine whether each of the
following strings belongs to the language generated by
the grammar in Example 12.
a) yes baba is string is belong to the language generated by grammer
b) NO abab is string is not belong to the language generated by grammer
c) YES cbaba is string is belong to the language generated by grammer
d) NO bbbcba is string is not belong to the language generated by grammer