1 flag 17,452 views
4 4 votes

 Synthesized attribute can be easily simulated by a

(A) LL grammar            (B) Ambiguous grammar

(C) LR grammar           (D) None of the above

Answer: C

  • 🚩 Duplicate | 👮 Hira Thakur | 💬 “https://gateoverflow.in/336909/nielit-2017-oct-scientific-assistant-a-cs-section-b-11”

1 Answer

3 3 votes
Synthesized attributes can be easily simulated by a LR grammar bcz synthesized attributes evaluates in bottom up fashion and LR grammar also evaluates in  bottom up fashion.
Position:
Show:

Related questions

0 0 votes
0 0 answers
80
80 views
Toufiq Hussain asked Sep 20
80 views
Check if it's LR(1) or not? Please draw the DFA too.S ➔ S1 I 0S1 | 1
0 0 votes
1 1 answer
206
206 views