Consider the SDT. S1: P → Q + R {P.val= Q.val + R.val} S2: P → Q.R {P.val =…
Consider the SDT.
S1: P → Q + R {P.val= Q.val + R.val}
S2: P → Q.R {P.val = Q.val * R.val and Q.val = R.val}
Which of the given option is correct w.r.t the above SDT?
- A.
S1 is L attributed but S2 is not L-attributed.
- B.
S1 is S attributed and S2 is L-attributed.
- C.
Both S1 and S2 are S attributed.
- D.
None of the above
Attempted by 109 students.
Sign up free to check your answer
Sign up freeLoading lesson…

