MSE UCSE0602 - T.Y.B.Tech-A

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Set:A

KOLHAPUR INSTITUTE OF TECHNOLOGY’S, MSE


COLLEGE OF ENGINEERING (AUTONOMOUS), KOLHAPUR
( AFFILIATED TO SHIVAJI UNIVERSITY, KOLHAPUR)

T. Y. B.Tech. (Branch) (Semester- VI)


MID SEMESTER EXAMINATION, MARCH-2020
COMPILER CONSTRUCTION (UCSE0602)
PRN No. :
Day and Date: Wednesday, 04/03/2020
Time: 2:00 to 4:00P.M. Max Marks- 50
Instructions:
IMP: Verify that you have received question paper with correct course, code, branch etc.
i) All questions are compulsory.
ii) Figure to the right indicate sfull marks.
iii) Assume suitable data wherever necessary.

Marks B.L CO’s


Q.1 Attempt any three 18
A Discuss fundamentals of Language Processing 6 VI 1
B What are the Data structures used in Pass I of Assembler? 6 I 1
C Explain Macro Definition and Call with suitable example. 6 II 1
D Show phases of compiler and output of each step with neat 6 II 2
diagram

Q.2 Attempt any two 16


A Explain role of Lexical Analyzer in detail. 8 II 3
B List and explain different error recovery techniques used in syntax 8 I 3
analysis.
C Explain syntax Directed Definition with help of example. 8 II 2

Q.3 Attempt any two 16


A Construct FIRST() and FOLLOW() of given Grammar 8 III 3
E->TE’
E’-> + TE’|↋
T-> FT’
T’->* FT’|↋
F->(E)|id

B Show that following Grammar is ambiguous for id+id*id 8 II 2


E-> E+E|E*E| id

C Distinguish between Top Down Parsing and Bottom Up Parsing 8 IV 3

Page 1 of 1

You might also like