Draw the precedence graph for the following expression:-

s1 : x : = 0

s2 : x : = x+1

s3 : y : = 2

s4 : z : = y

s5 : x : = x+2

s6 : y : = x+z

s7 : z : = 4

Subject Discrete Mathematics
NU Year Set: 4.(b) Marks: 4 Year: 2012
Login to post your comment.