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?

  1. A.

    Q.val is synthesized attribute and A.val is inherited attribute.

  2. B.

    Q.val is synthesized attribute but A.val is not an inherited attribute.

  3. C.

    Q.val is inherited attribute but A.val is not a synthesized attribute.

  4. 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 free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…