in Theory of Computation
381 views
0 votes
0 votes
Find the rank of A in the given context free grammar

 

A->BC

B->a

C->b

I think the rank of A in this grammar will be 2.

Let me know if I am right and if not then please help with the right answer.
in Theory of Computation
by
381 views

3 Comments

I think you r right.
1
1
yes its 2, rank of nonterminal = no of edges in longest path from nonterminal
1
1
Rank:- i never heard such thing bdw
1
1

Please log in or register to answer this question.