Consider the grammer S → SbS | a.

Consider the following statements:

The string abababa has

(A) two parse trees

(B) two left most derivations

(C) two right most derivations

Which of the following is correct?

1
All (A), (B) and (C) are true
2
Only (B) is true
3
Only (C) is true
4
Only (A) is true

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation