Skip to content

GATE CS Data Flow Analyses: Constant Propagation, Liveness, CSE questions

Practise Data Flow Analyses: Constant Propagation, Liveness, CSE questions for GATE CS. Explore official PYQs and original topic-wise quizzes, check answers and view available solutions. Free, no sign-in.

Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.

3 on this page
Official PYQ2023Compiler DesignData Flow Analyses: Constant Propagation, Liveness, CSEMCQ · 2 marks
Consider the control flow graph shown. Which one of the following choices correctly lists the set of live variables at the exit point of each basic block?
Official PYQ2016Compiler DesignData Flow Analyses: Constant Propagation, Liveness, CSENAT · 1 mark
Consider the following code segment. x = u - t; y = x * v; x = y + w; y = t - z; y = x * y; The minimum number of total variables required to convert the above code segment to static single assignment form is __________.
Official PYQ2015Compiler DesignData Flow Analyses: Constant Propagation, Liveness, CSEMCQ · 1 mark
A variable xx is said to be live at a statement sis_{i} in a program if the following three conditions hold simultaneously: There exists a statement SjS_{j} that uses xx There is a path from SiS_{i} to SjS_{j} in the flow graph corresponding to the program The path has no intervening assignment to xx including at SiS_{i} and SjS_{j} The …