0 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. Theory of Computation theory-of-computation context-free-grammar + – hrcule 662 views answer comment Share Follow Print See all 3 Comments 3 3 Comments reply Kushagra Chatterjee commented Apr 14, 2018 reply Follow flag I think you r right. 1 1 replyShare minal commented Apr 14, 2018 reply Follow flag yes its 2, rank of nonterminal = no of edges in longest path from nonterminal 1 1 replyShare sonveer tomar 1 commented Apr 14, 2018 reply Follow flag Rank:- i never heard such thing bdw 1 1 replyShare Please log in or register to add a comment.