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 SDT uses only synthesized attributes. 2. An SDT uses both synthesized and inherited attributes with a restriction that inherited attributes can inherit values only from left siblings or parent. 3. Computed from the attributes of the children of that node. 4. Computed from the attributes of the parent and/or siblings of that node. Choose the correct answer from the options given below:
- 1P-1, Q-3, R-4, S-2
- 2P-3, Q-1, R-4, S-2
- 3P-3, Q-4, R-1, S-2✓
- 4P-4, Q-3, R-2, S-1
Correct answer
P-3, Q-4, R-1, S-2
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 Computer Science 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