1 votes 1 votes Compiler Design made-easy-test-series compiler-design syntax-directed-translation + – vaishali jhalani asked Nov 23, 2016 • edited Mar 4, 2019 by akash.dinkar12 vaishali jhalani 1.0k views answer comment Share Follow See all 6 Comments See all 6 6 Comments reply Show 3 previous comments vaishali jhalani commented Nov 23, 2016 reply Follow Share Is this answer possible? 0 votes 0 votes Gate Mission 1 commented Nov 23, 2016 reply Follow Share dollar b/w 4 nd 8 should be there and after 8 only one dollar 0 votes 0 votes Amitabh Tiwari 1 commented Nov 23, 2016 reply Follow Share Nopes 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes SDT evaluation Amitabh Tiwari 1 answered Nov 23, 2016 Amitabh Tiwari 1 comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments vaishali jhalani commented Nov 23, 2016 reply Follow Share Is this right? 0 votes 0 votes Amitabh Tiwari 1 commented Nov 23, 2016 reply Follow Share No. See where you are going wrong is : ZX when reduced to X --->prints $. But when epsilon is reduced to X,it doesn't print $. See the grammar carefully. 0 votes 0 votes sidsunny commented Nov 23, 2016 reply Follow Share She has printed the second dollar where actually the first dollar is printed. But second dollar will also be printed in the subsequent step when again zx reduces to X. So her final answer is correct. 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes 2dollar48 dollar dollar is possible.ZX is reduced to X twice at last sidsunny answered Nov 23, 2016 • edited Nov 23, 2016 by sidsunny sidsunny comment Share Follow See all 0 reply Please log in or register to add a comment.