Given grammar: S->aS|A A->a B->aa Find the number of variables reachable from the Starting Variable?

Given grammar:
S->aS|A
A->a
B->aa
Find the number of variables reachable from the Starting Variable?
A. 0
B. 1
C. 2
D. None of the mentioned
 

Tìm kiếm

Back
Top