Consider the SDT. S→PQ { S.a = P.a + Q.a} P→ QR {Q.a = R.a} R→ id {R.a = id}…

Consider the SDT.

S→PQ { S.a = P.a + Q.a}

P→ QR {Q.a = R.a}

R→ id {R.a = id}

Which of the given option is correct:

  1. A.

    Given SDT is L-attributed

  2. B.

    Attribute “a” is inherited only

  3. C.

    Attribute “a” is synthesized only

  4. D.

    None of these

Attempted by 147 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…