Unit 5
Unit 5
To become a renowned center of outcome based learning and work towards academic,
professional, cultural and social enrichment of the lives of individuals and communities
M1: Focus on evaluation of learning outcomes and motivate students to inculcate research
aptitude by project based learning.
M2: Identify, based on informed perception of Indian, regional and global needs, the areas of
focus and provide platform to gain knowledge and solutions.
M4: Develop human potential to its fullest extent so that intellectually capable and
imaginatively gifted leaders can emerge in a range of professions.
To become renowned Centre of excellence in computer science and engineering and make
competent engineers & professionals with high ethical values prepared for lifelong learning.
Problem analysis: Identify, formulate, research literature, and analyze complex engineering
problems reaching substantiated conclusions using first principles of mathematics, natural
sciences, and engineering sciences.
Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modeling to complex engineering activities
with an understanding of the limitations. The engineer and society: Apply reasoning informed
by the contextual knowledge to assess societal, health, safety, legal and cultural issues and the
consequent responsibilities relevant to the professional engineering practice.
Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
Individual and team work: Function effectively as an individual, and as a member or leader in
diverse teams, and in multidisciplinary settings.
Life-long learning: Recognize the need for, and have the preparation and ability to engage in
independent and life-long learning in the broadest context of technological change.
COURSE OUTCOME
CO1: Compare different phases of compiler and design lexical analyzer. CO2: Examine syntax
and semantic analyzer by understanding grammars.
CO4: Analyze code optimization, code generation & compare various compilers.
CO-PO Mapping
PO2
Semester
Subject
Code
L/T/P
CO
PO1
PO3
PO4
PO5
PO6
PO7
PO8
PO9
PO10
PO11
PO12
L 1. Compare
different phases of
compiler and
design lexical
analyzer. 3 3 3 3 2 1 1 1 1 2 1 3
L 2. Examine syntax
and semantic
analyzer and
illustrate storage
allocation and its
organization 3 3 3 3 1 1 1 1 1 2 2 3
L 3. Analyze symbol
COMPILER DESIGN
table organization,
code optimization
and code generator 3 3 3 3 2 1 1 1 1 2 2 3
5CS4 - 02
L 4.Compare and
evaluate various
3 3 3 3 2 1 1 1 1 2 1 3
compilers and
analyzers
V
V
PROGRAM EDUCATIONAL OBJECTIVES:
PSO
PSO1. Ability to interpret and analyze network specific and cyber security issues, automation in
real word environment.
PSO2. Ability to Design and Develop Mobile and Web-based applications under realistic
constraints.
SYLLABUS
LECTURE PLAN:
Subject: Compiler Design (5CS4 – 02) Year/Sem: III/V
Unit
No./
Total Topics Lect. Req.
lec.
Req.
Compiler, Translator, Interpreter definition, Phase of compiler 1
Introduction to one pass & Multipass compilers, Bootstrapping 1
Unit-1
Review of Finite automata lexical analyzer, Input, buffering, 2
(6)
Recognition of tokens, Idea about LEX:, GATE Questions 1
A lexical analyzer generator, Error Handling, Unit Test 1
Review of CFG Ambiguity of grammars, Introduction to parsing 2
Bottom up parsing Top down Parsing Technique 5
Shift reduce parsing, Operator Precedence Parsing 2
Recursive descent parsing predictive parsers 1
Unit-2
(17) LL grammars & passers error handling of LL parser 1
Conical LR & LALR parsing tables 3
parsing with ambiguous grammar, GATE Questions 2
Introduction of automatic parser generator: YACC error handling in LR parsers, Unit
Test
1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
TECHNIQUES OF MACHINE
DEPENDENT OPTIMIZATION
16
17
18
19
20
21
22
23
24
25
26
27
28
29
NAME OF FACULTY (POST, DEPTT.) , JECRC, JAIPUR 30
NAME OF FACULTY (POST, DEPTT.) , 3