Time Left - 15:00 mins
GATE 2024 Compiler DesignRank Booster Quiz 20
Attempt now to get your rank among 72 students!
Question 1
Which of the following is machine independent optimization?
Question 2
The optimization phase in a compiler generally:
Question 3
Which of the following is not a machine-independent code optimization technique?
Question 4
How many temporary variables are needed to write the three address code for the expression a + b * c + d.
Question 5
What is the minimum number of temporary variable required to create a 3-address code in a static single assignment form if the expression is given as : a+(c*d)-(e/f) +(g*(h/i))
Question 6
Consider the intermediate code given below :
K=1
L2:S=1
L1:R1=8*K
R2=R1 + S
R3= 8* R2
B[R3]= 3
S++
IF S<=2 GOTO L1
K++
IF K<7 GOTO L2
The number of nodes and leaders in the control flow graph for the above code(written without spaces and in order) is?
Question 7
Given the below DAG, what will be the output?
- 72 attempts
- 0 upvotes
- 0 comments
Dec 1GATE & PSU CS