0% found this document useful (0 votes)
6 views

IAT_1 set2

This document outlines the internal exam details for the Compiler Design course at Stella Mary's College of Engineering, including the exam date, time, and structure. It specifies the types of questions (Part A and Part B) along with their corresponding Bloom's taxonomy levels and course outcomes. The questions cover various topics related to compiler design, such as the definition of a compiler, error types during compilation, and parsing techniques.

Uploaded by

binusha
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

IAT_1 set2

This document outlines the internal exam details for the Compiler Design course at Stella Mary's College of Engineering, including the exam date, time, and structure. It specifies the types of questions (Part A and Part B) along with their corresponding Bloom's taxonomy levels and course outcomes. The questions cover various topics related to compiler design, such as the definition of a compiler, error types during compilation, and parsing techniques.

Uploaded by

binusha
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

QP Code : 16727

S5 104 CS3501 Reg. No.:


9635 – STELLA MARY’S COLLEGE OF ENGINEERING
DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING
INTERNAL EXAM – I ( NOV-DEC 2023)
III Year / V Semester
CS3501-COMPILER DESIGN
Date &Time: 13/09/2023 & 1:20 PM to 3.20 PM Max. : 60 Marks
Note:
 Write the examination using blue or black pen, Draw neat sketch with pencil (if necessary)
 Use tables or charts (if necessary) , Answer all questions
Bloom’s
Q.No. Question Taxonomy CO
QP Code : 16727
Level
Part – A
(Each Question carries 2 Marks)
What is a compiler, and why is it essential in program
1. Remembering (CO1)
execution?
Differentiate between compilation and interpretation with
2. Analyze (CO1)
examples
3. Explain ambiguous grammar with a suitable example. Understanding (CO2)
Enumerate the types of errors that can occur during
4. Remembering (CO2)
compilation and describe various recovery modes.
Enumerate the types of errors that can occur during
5. Analyze (CO3)
compilation and describe various recovery modes.
Part – B
(Answer for each question carries 10 Marks)
Bloom’s
Q.No. Question Taxonomy CO
Level
(a) Illustrate the structure of LEX with a detailed Understanding CO1
explanation and a sample program.
6.
Or
Understanding CO1

7.
(a) Construct and minimize the DFA for the given regular
expression Understanding CO1

Or
(b) Analyze the process of token recognition and
Analyze CO1
specification with a detailed example.

(a) Construct Predictive Parser for the following grammar


8. and checking the input string :” id+id*id”
Applying CO2
E->E+T / T
T->T*F / F
F-> (E) /id
Or

(b) Construct SLR parsing table for the following grammar.


E->E+T / T Applying CO2
T->T*F / F
F-> (E) / id

9.
(a)Illustrate recursive descent parser shift reduce parser for Understanding CO2
the following grammar and checking the input

You might also like