This document is a question paper for a pre-semester examination in Compiler Design for BSC CS students. It includes various sections with questions on programming languages, data structures, error types, parsing techniques, and compiler phases. The exam consists of multiple-choice questions, short notes, and detailed explanations, with a total of 75 marks available.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
13 views1 page
Comp. Design
This document is a question paper for a pre-semester examination in Compiler Design for BSC CS students. It includes various sections with questions on programming languages, data structures, error types, parsing techniques, and compiler phases. The exam consists of multiple-choice questions, short notes, and detailed explanations, with a total of 75 marks available.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
[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.