GATE CS 2024 Set 1 | Question 37
Compiler Design › Parser · MCQ · 2 marks · Answer: A
- Question 37Compiler Designmcq2 marksFor the SDD with , , , , and , the value computed for input "MMLK" is
- A.45✓
- B.50
- C.55
- D.65
Answer: A
Solution
Answer: (A) 45 Parse "MMLK" as ="MM", ="L", =, ="K". - ="MM": with innermost : . - ="L": . - . - ="K". - A.
More GATE PYQ on Parser
All GATE CS Compiler Design PYQ →Attempt GATE CS 2024 Set 1 in real GATE exam mode
Full paper with a timer, the GATE interface and a topic-wise analysis — free.
Create free account →