...
Question 17251 – NTA UGC NET JUNE 2023 Paper-1
December 21, 2023
Question 14290 – Compiler-Design
December 21, 2023
Question 17251 – NTA UGC NET JUNE 2023 Paper-1
December 21, 2023
Question 14290 – Compiler-Design
December 21, 2023

Question 14279 – Compiler-Design

For a statement S in a program, in the context of liveness analysis, the following sets are defined:

USE(S) : the set of variables used in S

IN(S)     : the set of variables that are live at the entry of S

OUT(S)  : the set of variables that are live at the exit of S

Consider a basic block that consists of two statements, S1followed by S2. Which one of the following statements is correct?

Correct Answer: D

Question 1 Explanation: 
As we know the formula for In and OUT are

A
OUT(S1) =IN(S2) U OUT(S2)
B
OUT(S1) =IN(S1) U USE(S1)
C
OUT(S1) =USE(S1) U IN(S2)
D
OUT(S1) =IN(S2)
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!