594 views
0 votes
0 votes
consider the sdts(using synthesized attributes)

s->aB {out "cat"}

s->bA {out "dog"}

B->aBB{out "pig"}

A->bAA{out "cow"}

B->b{out "deer"}

A->a{out "lion"}

the output for aabb is

a)cat pig deer deer b)cat dog pig lion c)cat cow deer lion d)cat deer dog pig

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
2
Subhadeeppathak asked Nov 28, 2022
463 views
Attributes are said to be of two type, synthesised and inherited. What actually is an attribute? Why an attribute exist, how to define it?