Computer Science · Compiler Design
Match List-I with List-II: List-I (Attributes) P. Synthesized attributes Q. Inherited attributes R. S-attributed definition S. L-attributed definition List-II (Description)1. An attribute of the nonterminal on the left-hand side of a production. 2. An attribute of a nonterminal on the right-hand side of a production. 3. An SDT uses only synthesized attributes. 4. An SDT uses both synthesized and inherited attributes with the restriction that an inherited attribute can inherit values only from parents or left siblings.
- 1P-1, Q-3, R-4, S-2
- 2P-3, Q-4, R-1, S-2
- 3P-1, Q-2, R-3, S-4✓
- 4P-4, Q-3, R-2, S-1
Correct answer
P-1, Q-2, R-3, S-4
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Compiler Design?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Compiler Design