1 votes 1 votes Parshu gate asked Jan 6, 2018 Parshu gate 1.5k views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Anu007 commented Jan 6, 2018 i edited by Anu007 Jan 6, 2018 reply Follow Share To find rank grammar must be in CNF form: Now Rank (V) = maximum path to derive a string. here R(A) = A-> BC-> CCC-> aaa i.e. 3 R(B) = B-> CC -> aa i.e. 2 R(C) = C-> a i.e. 1 if cycle present then infinite rank will be there. 0 votes 0 votes gatecse123 commented Jan 6, 2018 reply Follow Share what is rank of A if A-->BC only in above rules? how to draw variable dependency graph? 0 votes 0 votes Anu007 commented Jan 6, 2018 i edited by Anu007 Jan 6, 2018 reply Follow Share .............. 0 votes 0 votes gatecse123 commented Jan 6, 2018 reply Follow Share How to take minimum length? 0 votes 0 votes Anu007 commented Jan 6, 2018 reply Follow Share now check. 0 votes 0 votes gatecse123 commented Jan 6, 2018 reply Follow Share thank you sir then is rank of S = 2? 0 votes 0 votes Please log in or register to add a comment.