1 votes 1 votes Let 'x', 'y', 'z' and 'u' represents the number of entries in rows of Non-terminals 'S', 'A', 'B' and 'C' respectively. The value of x + y + z + u is ______ . Compiler Design made-easy-test-series compiler-design parsing + – vaishali jhalani asked Nov 23, 2016 • edited Mar 4, 2019 by akash.dinkar12 vaishali jhalani 2.3k views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Prashant. commented Nov 23, 2016 reply Follow Share simply asked number of entries for grammer in table which are left. 0 votes 0 votes vaishali jhalani commented Nov 23, 2016 reply Follow Share Ya but i found half of the answers wrong on madeeasy test series.. 0 votes 0 votes LeenSharma commented Apr 21, 2017 reply Follow Share I think question itself is wrong.Given grammar is not LL(1). 2 votes 2 votes Prashant. commented Apr 21, 2017 reply Follow Share Question not asking grammar is LL(1) or not . Since if table contain 2 entry for particular column then not LL(1) , Here simply ask number of entries. 1 votes 1 votes Please log in or register to add a comment.
1 votes 1 votes I got 16 but in answer key its 18. I think I am correct. Chirag Shilwant answered Oct 29, 2019 Chirag Shilwant comment Share Follow See all 2 Comments See all 2 2 Comments reply shantanu4raje commented Nov 16, 2020 reply Follow Share I also think that. In their solution, they have mentioned the production B->Bb in c and $ column also, in addition to the b column. But this is wrong in my opinion. B->Bb can come only in b column because the first of RHS i.e. Bb is b only, not €. 0 votes 0 votes Mr. Ooppss commented May 22, 2021 reply Follow Share Ya.. Correct answer is 16... 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes i think correct answer is 16 but they have given it 18. somebody please solve this problem balagangadhar12 answered Dec 19, 2016 balagangadhar12 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes how this grammer is LL(1).. it is having left recursive production(B-->Bb) nitish1995 answered Apr 12, 2017 nitish1995 comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Chirag Shilwant commented Nov 7, 2019 reply Follow Share No after getting € we substitute it in production to get b also as the first. Eg : A->Bb B-->€ In this first of A={€, b} Same concept can be applied to the left recursive grammar also. 0 votes 0 votes logan1x commented Nov 7, 2019 reply Follow Share Thank you for the explanation. 0 votes 0 votes Chirag Shilwant commented Nov 7, 2019 reply Follow Share Welcome.. 0 votes 0 votes Please log in or register to add a comment.