Consider the SDD P → QR { Q.val = R.val } A →*BC { A.val = B .val × C.val}…
Consider the SDD
P → QR { Q.val = R.val }
A →*BC { A.val = B .val × C.val}
Which of the following is true?
- A.
Q.val is synthesized attribute and A.val is inherited attribute.
- B.
Q.val is synthesized attribute but A.val is not an inherited attribute.
- C.
Q.val is inherited attribute but A.val is not a synthesized attribute.
- D.
Q.val is inherited attribute and A.val is synthesized attribute.
Attempted by 110 students.
Sign up free to check your answer
Sign up freeLoading lesson…

