CD Ese Paper 2019
CD Ese Paper 2019
Established as State Private University under Govt. of Maharashtra. Act No XL, EXM/P/09/01
2017
Year and Program:2018-19 School of Technology Department of Computer
Science & Engineering
Course Code : CST305 Course Title: Compiler Design Semester – V
Day and Date : End Semester Examination (ESE) Time: Max Marks: 100
Instructions:
1) All questions are compulsory.
2) Assume suitable data wherever necessary.
3) Figures to the right indicate full marks.
c Construct the LR(0) parser for the given grammar, G = ( V={S,C }, 08 L3 CO2
∑={c,d},S={S} and
P= { S -> CC
C->cC
C -> d })
d Apply Syntax Directed Definition (SDD) to draw an Annotated Parse Tree 08 L3 CO3
for a Simple desk calculator to generate a string 3 * 5 + 4n