[This question paper contains 2 Printed Pages]
Royal Education Society’s P. T .O.
COCSIT LATUR // 2 //
FACULTY OF COMPUTER STUDIES
[NEW CBCS PATTERN] Q. 3 Attempt any three of the following (5 Marks each) 15
BSC CS SY (III ) a) Explain Importance of programming languages
PRE-SEMESTER EXAMINATION 2025 b) Explain Data Structure in Detail.
Compiler Design (S3.304)
Date: / / Time: c) Explain Different Statements in detail.
Time: Three Hours Maximum Marks - 75 d) What is Error? Explain Types of error.
Instructions to the candidates:
1. All questions are Compulsory. e) Explain Transition Diagram.
2. Figures to the right indicate full marks.
3. Assume suitable data, if required.
Q. 4 Attempt any three of the following (5 Marks each) 15
Q.1 Attempt any FIVE of the following (3 Marks each) 15
a) Explain Role of lexical analyzer
a) What is interpreter?
b) Explain Bottom UP parsing.
b) Explain Compilation Process in Detail.
c) What is Queue?
c) Explain Error Recovery in Detail.
c) Explain Role of parser.
d) Explain Array data structure.
d) Explain Token Recognition with Transition diagram in
e) Explain operator Precedence Parsing
detail.
f) Discuss prelimnary Scanning
g) What is operator explain? Q .5 Short notes on any three of the following (5 Marks each) 15
a) Explain Source optimization in detail.
Q. 2 Attempt any three of the following (5 Marks each) 15 b) Discuss Intermediate code with diagram
a) Explain Regular expression. c) Explain infix ,Prefix and Postfix notation
b) Explain Different phases of compiler. d) Explain Syntax analysis in detail
c) Explain Different operation on data structure. e) Explain Specification of Token.
d) Explain Role of lexical analyzer. ****
e) Explain Top Down parsing in detail.