0 0 votes closed with the note: Violation of community guidelines https://gateoverflow.in/blog/2113 Compiler Design compiler-design + – Kuldeep Pal 850 views comment Share Follow Print See all 4 Comments 4 4 Comments reply Shubhanshu commented Oct 17, 2017 reply Follow flag i and iii For iii see:- https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwjhzor5sPnWAhWEv48KHX6YC3wQFgglMAA&url=http%3A%2F%2Fwww.sci.brooklyn.cuny.edu%2F~zhou%2Fteaching%2Fcis707%2Fattr.ppt&usg=AOvVaw25i03xV5wMZJyWiyo_IIYg 1 1 replyShare Rishabh Gupta 2 commented Oct 18, 2017 reply Follow flag I think (ii) is the proper answer. We mainly use SDT to generate the intermediate code. It can also be used to evaluate the algebraic expression and to convert binary to decimal. We can also use SDT to do other things like counting 1's in a binary string or converting infix expression to postfix expression. These all can be viewed as conversion to an intermediate code. 0 0 replyShare rishi71662data4 commented Oct 18, 2017 reply Follow flag Yes, i and iii are the right answer. i is obvious, from the definition of SDT. As of iii, there is a grammar with semantic rules to convert binary to decimal. Reference for the grammar: http://www.sci.brooklyn.cuny.edu/~zhou/teaching/cis707/attr.ppt 0 0 replyShare arch commented Nov 20, 2017 reply Follow flag i think all are performed by sdt 0 0 replyShare Please log in or register to add a comment.