Back to the 2023 paper
Similar questions
Compiler DesignWhat is basic block in the graph representation of intermediate codes. Construct DAG for the basic block given below. Also optimize the three address code, assuming only a is live on exit from the block. d = b * c e = a + b b = b * c a = e - d20227m Compiler DesignDraw the syntax tree for the following arithmetic expression: a * -(b + c/d)20233m Compiler DesignWrite down Three Address Code for the following expression: (a \times b) + (c + d) - (a + b + c + d)20257m Compiler DesignTranslate the following expression into quadruples and triples representation. A = -b * (c + d)/e20234m
PreviousConsider the following grammar: S \rightarrow S(S)S/\epsilon (i) Left factor this grammar. (ii) Eliminate left recursion from original grammar. (iii) Is the resulting grammar suitable for top-down parsing?NextDiscuss peephole optimization with suitable example.
Free AppAndroid App
Coursify Android App
Generate AI courses, take quick quizzes between classes, and master complex engineering concepts on the go.