logo

Crowdly

Browser

Add to Chrome

Consider the productions  S→ AB , S→YZ, each non-terminal S, A, B, Y and Z has ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the productions  S→ AB , S→YZ, each non-terminal S, A, B, Y

and Z has 

two attributes: s is a synthesized

attribute and i is an inherited attribute. Consider 

the following semantic rules:

                Rule 1 :  A.i = S.i + 2 ,   B.i = A.i + S.i  ,   

S.s = A.s + B.s

                Rule 2: Y.i = S.i + Z.s  , Z.i = S.i + Y.s

Which one of the following is TRUE?

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on lms.vit.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome