DEPARTMENT OF INFORMATION TECHNOLOGY AUTOMATA AND COMPILER DESIGN. B.Tech-IT, III Year -I Sem

Similar documents
G.PULLAIH COLLEGE OF ENGINEERING & TECHNOLOGY

Evaluation Scheme L T P Total Credit Theory Mid Sem Exam

Department of Information Technology. II B.Tech I Sem. DATA STRUCTURES THROUGH C++ (Subject code# 53023) Dept of IT

KALASALINGAM UNIVERSITY ANAND NAGAR, KRISHNAN KOIL DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING ODD SEMESTER COURSE PLAN

About the Authors... iii Introduction... xvii. Chapter 1: System Software... 1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTER SCIENCE AND ENGINEERING COURSE PLAN

SYED AMMAL ENGINEERING COLLEGE (An ISO 9001:2008 Certified Institution) Dr. E.M. Abdullah Campus, Ramanathapuram

CST-402(T): Language Processors

Name of chapter & details

GUJARAT TECHNOLOGICAL UNIVERSITY

List of Figures. About the Authors. Acknowledgments

LECTURE NOTES ON COMPILER DESIGN P a g e 2

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

2068 (I) Attempt all questions.

VALLIAMMAI ENGINEERING COLLEGE

INSTITUTE OF AERONAUTICAL ENGINEERING

INSTITUTE OF AERONAUTICAL ENGINEERING (AUTONOMOUS)

BIRLA INSTITUTE OF TECHNOLOGY AND SCIENCE, Pilani Pilani Campus Instruction Division

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY

CSCI 565 Compiler Design and Implementation Spring 2014

1. (a) What are the closure properties of Regular sets? Explain. (b) Briefly explain the logical phases of a compiler model. [8+8]

Principles of Programming Languages [PLP-2015] Detailed Syllabus

Roll No. :... Invigilator's Signature :. CS/B.Tech(CSE)/SEM-7/CS-701/ LANGUAGE PROCESSOR. Time Allotted : 3 Hours Full Marks : 70

Compiler Design (40-414)

CS Compiler Construction West Virginia fall semester 2014 August 18, 2014 syllabus 1.0

GUJARAT TECHNOLOGICAL UNIVERSITY

Working of the Compilers

Theory: 4 Hrs/Week Max. University Theory Examination: 60 Marks Max. Time for Theory Exam.: 3 Hrs. Continuous Internal Assessment: 40 Marks

DEPARTMENT OF INFORMATION TECHNOLOGY / COMPUTER SCIENCE AND ENGINEERING UNIT -1-INTRODUCTION TO COMPILERS 2 MARK QUESTIONS

SYLLABUS UNIT - I UNIT - II UNIT - III UNIT - IV CHAPTER - 1 : INTRODUCTION CHAPTER - 4 : SYNTAX AX-DIRECTED TRANSLATION TION CHAPTER - 7 : STORA

Gujarat Technological University Sankalchand Patel College of Engineering, Visnagar B.E. Semester VII (CE) July-Nov Compiler Design (170701)

CJT^jL rafting Cm ompiler

JBIET. Dept of IT. Operating Systems III B.Tech -I Sem. Department of Information Technology

CS 406/534 Compiler Construction Putting It All Together

Translator Design CRN Course Administration CMSC 4173 Spring 2018

Introduction to Software Engineering: The evolving role of software, Changing Nature of Software, Software myths.

Translator Design CRN Course Administration CMSC 4173 Spring 2017

Compiler Construction Using

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur

Compilers. Computer Science 431

HOLY ANGEL UNIVERSITY COLLEGE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY COMPILER THEORY COURSE SYLLABUS

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Subject Name: CS2352 Principles of Compiler Design Year/Sem : III/VI

COLLEGE OF ENGINEERING, NASHIK. LANGUAGE TRANSLATOR

(a) R=01[((10)*+111)*+0]*1 (b) ((01+10)*00)*. [8+8] 4. (a) Find the left most and right most derivations for the word abba in the grammar

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / EVEN SEMESTER

Torben./Egidius Mogensen. Introduction. to Compiler Design. ^ Springer

Philadelphia University Faculty of Information Technology Department of Computer Science --- Semester, 2007/2008. Course Syllabus

Compilers for Modern Architectures Course Syllabus, Spring 2015

Question Bank. 10CS63:Compiler Design

Formal Languages and Compilers Lecture I: Introduction to Compilers

INTRODUCTION PRINCIPLES OF PROGRAMMING LANGUAGES. Norbert Zeh Winter Dalhousie University 1/10

CSE 504: Compiler Design

CA Compiler Construction

BSCS Fall Mid Term Examination December 2012

Formal Languages and Compilers Lecture VI: Lexical Analysis

CS131: Programming Languages and Compilers. Spring 2017

Formal Languages and Compilers Lecture VII Part 3: Syntactic A

Lecture 8: Deterministic Bottom-Up Parsing

G COURSE PLAN ASSISTANT PROFESSOR Regulation: R13 FACULTY DETAILS: Department::

CS 2210 Sample Midterm. 1. Determine if each of the following claims is true (T) or false (F).

ECE573 Introduction to Compilers & Translators

Automatic Scanning and Parsing using LEX and YACC

Lecture 7: Deterministic Bottom-Up Parsing

Compiler Design Aug 1996

CMPE 152 Compiler Design

UNIVERSITY OF CALIFORNIA

Overview of the Class

MANIPAL INSTITUTE OF TECHNOLOGY (Constituent Institute of MANIPAL University) MANIPAL

QUESTIONS RELATED TO UNIT I, II And III

JNTUWORLD. Code No: R

Compiler Construction Principles And Practice Solution Manual

Sai Nath University. Assignment For B.tech in CS 8 st Sem.

COURSE DESCRIPTION FORM. Level Credits Periods/ Week Prerequisites

Introduction to Compiler Construction

CMPE 152 Compiler Design

Outline. Lecture 17: Putting it all together. Example (input program) How to make the computer understand? Example (Output assembly code) Fall 2002

LESSON PLAN (Aug-Dec 2018) Paper Code: MCA Subject: Advance Web Technology. Week Topic Remarks

CS5363 Final Review. cs5363 1

Interpreter. Scanner. Parser. Tree Walker. read. request token. send token. send AST I/O. Console

Compiler Optimisation

PSD3A Principles of Compiler Design Unit : I-V. PSD3A- Principles of Compiler Design

VALLIAMMAI ENGINEERING COLLEGE

Answer All Questions. All Questions Carry Equal Marks. Time: 20 Min. Marks: 10.

Compiler Code Generation COMP360

Introduction to Compiler Construction

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Compiler Design

CMPE 152 Compiler Design

Midterm I (Solutions) CS164, Spring 2002

SYSTEMS PROGRAMMING. Srimanta Pal. Associate Professor Indian Statistical Institute Kolkata OXFORD UNIVERSITY PRESS

Compiler Design Overview. Compiler Design 1

MLR Institute of Technology Dundigal, Quthbullapur (M), Hyderabad

Languages and Automata

CS 4120 and 5120 are really the same course. CS 4121 (5121) is required! Outline CS 4120 / 4121 CS 5120/ = 5 & 0 = 1. Course Information

CSE 582 Autumn 2002 Exam 11/26/02

Parsing. Handle, viable prefix, items, closures, goto s LR(k): SLR(1), LR(1), LALR(1)

Formal Languages and Compilers Lecture IV: Regular Languages and Finite. Finite Automata

CS606- compiler instruction Solved MCQS From Midterm Papers

Group B Assignment 9. Code generation using DAG. Title of Assignment: Problem Definition: Code generation using DAG / labeled tree.

COP 3402 Systems Software Syntax Analysis (Parser)

Transcription:

DEPARTMENT OF INFORMATION TECHNOLOGY AUTOMATA AND COMPILER DESIGN B.Tech-IT, III Year -I Sem Dr. Smriti Agrawal Assoc. Professor J.B.Institute of Engg & Technology Yenkapally, Moinabad(Mandal) Himathnagar(post),Hydreabad

RESULTS TARGET TOTAL STRENGTH OF THE CLASS: S. No Class / Division No. of Students a. First Class with Distinction b. First Class c. Pass Class Method of Evaluation a. Internal Examination 2 b. Final Examination 1 Course Objective xxxxxxxxxxxxxxxxxxxx JNTU Syllabus Unit I Unit II Unit III Unit IV Unit V Unit VI Formal Language and Regular Expressions : Languages, Definition Languages regular expressions, Finite Automata DFA, NFA. Conversion of regular expression to NFA, NFA to DFA. Applications of Finite Automata to lexical analysis, lex tools. Context Free grammars and parsing : Context free grammars, derivation, parse trees, ambiguity LL(K) grammars and LL(1) parsing Bottom up parsing handle pruning LR Grammar Parsing, LALR parsing, parsing ambiguous grammars, YACC programming specification. Semantics : Syntax directed translation, S-attributed and L-attributed grammars, Intermediate code abstract syntax tree, translation of simple statements and control flow statements. Context Sensitive features Chomsky hierarchy of languages and recognizers. Type checking, type conversions, equivalence of type expressions, overloading of functions and operations. Run time storage: Storage organization, storage allocation strategies scope access to now local names, parameters, language facilities for dynamics storage allocation. Unit VII Unit VIII Code optimization: Principal sources of optimization, optimization of basic blocks, peephole optimization, flow graphs, Data flow analysis of flow graphs. Code generation: Machine dependent code generation, object code forms, generic code generation algorithm, Register allocation and assignment. Using DAG representation of Block. GUIDELINES TO STUDENTS Page: 2

Where will this subject help? Books / Material Text Books T1. Introduction to Theory of computation.sipser,2nd Edition,Thomson. T2. Compilers Principles, Techniques and Tools Aho, Ullman, Ravisethi, Pearson Education. Suggested / Reference Books 1. Modern Compiler Construction in C, Andrew W.Appel Cambridge University Press. 2. Compiler Construction, LOUDEN, Thomson COURSE SCHEDULE NUMBER OF HOURS / LECTURES AVAILABLE IN THIS SEMESTER / YEAR 65 Distribution of Hours Unit Wise Unit I II III IV V VI Total No. of Topic Hours Formal Language and Regular Expressions : Languages, Definition Languages regular expressions, Finite Automata DFA, NFA. Conversion of regular expression to NFA, NFA to DFA. Applications of Finite Automata to lexical analysis, lex tools. 05 Context Free grammars and parsing : Context free grammars, derivation, parse trees, ambiguity LL(K) grammars and LL(1) parsing 09 Bottom up parsing handle pruning LR Grammar Parsing, LALR parsing, parsing ambiguous grammars, YACC programming specification. 09 Semantics : Syntax directed translation, S-attributed and L-attributed grammars, Intermediate code abstract syntax tree, translation of simple statements and control flow statements. Context Sensitive features Chomsky hierarchy of languages and recognizers. Type checking, type conversions, equivalence of type expressions, overloading of functions and operations. Run time storage: Storage organization, storage allocation strategies scope access to now local names, parameters, language facilities for dynamics storage allocation. 08 09 09 VII VIII Code optimization: Principal sources of optimization, optimization of basic blocks, peephole optimization, flow graphs, Data flow analysis of flow graphs. 08 Code generation: Machine dependent code generation, object code forms, generic code generation algorithm, Register allocation and assignment. Using DAG representation of Block. 08 Total 65 Page: 3

TOPIC WISE COVERAGE: UNIT I: Formal Language and Regular Expressions : Languages, Definition Languages regular expressions, Finite Automata DFA, NFA. Conversion of regular expression to NFA, NFA to DFA. Applications of Finite Automata to lexical analysis, lex tools. TOTAL NO_ OF CLASSES: 05 1 Languages, Definition Languages regular expressions T1 01 2 Finite Automata DFA, NFA. Conversion of regular expression to NFA, NFA to DFA. T1 02 3 Applications of Finite Automata to lexical analysis, lex tools. T1 02 UNIT-II : Context Free grammars and parsing : Context free grammars, derivation, parse trees, ambiguity LL(K) grammars and LL(1) parsing 1 Context free grammars, derivation T1 02 2 parse trees T1 02 3 ambiguity LL(K) grammars T1 02 4 LL(1) parsing UNIT-III : Bottom up parsing handle pruning LR Grammar Parsing, LALR parsing, parsing ambiguous grammars, YACC programming specification.. 1 Bottom up parsing handle pruning 2 LR Grammar Parsing, LALR parsing 3 parsing ambiguous grammars, YACC programming specification UNIT-IV Semantics : Syntax directed translation, S-attributed and L-attributed grammars, Intermediate code abstract syntax tree, translation of simple statements and control flow statements. Page: 4

1 Syntax directed translation, S-attributed and L- attributed grammars, 2 Jump and Call Instructions, Intermediate code abstract syntax tree, 3 translation of simple statements and control flow statements. UNIT-V: Context Sensitive features Chomsky hierarchy of languages and recognizers. Type checking, type conversions, equivalence of type expressions, overloading of functions and operations. 1 Context Sensitive features Chomsky hierarchy of languages and recognizers 2 Type checking, type conversions, equivalence of type expressions 3 overloading of functions and operations UNIT-VI: Run time storage: Storage organization, storage allocation strategies scope access to now local names, parameters, language facilities for dynamics storage allocation. TOTAL NO_ OF CLASSES: 08 1 Run time storage: Storage organization, T2 02 2 storage allocation strategies scope access to now local names, 3 parameters, language facilities for dynamics storage allocation. UNIT-VII: Code optimization: Principal sources of optimization, optimization of basic blocks, peephole optimization, flow graphs, Data flow analysis of flow graphs. TOTAL NO_ OF CLASSES: 08 1 Code optimization: Principal sources of optimization, 2 optimization of basic blocks, peephole optimization, flow graphs, T2 02 3 Data flow analysis of flow graphs. Page: 5

UNIT-VIII: Code generation: Machine dependent code generation, object code forms, generic code generation algorithm, Register allocation and assignment. Using DAG representation of Block. TOTAL NO_ OF CLASSES: 08 1 Code generation: Machine dependent code generation, 2 object code forms, generic code generation algorithm, 3 Register allocation and assignment. Using DAG representation of Block. DEPARTMENT OF INFORMATION TECHNOLOGY INDIVIDUAL TIME TABLE NAME OF THE FACULTY: Smriti Agrawal T2 02 Period 1 2 3 4 5 6 7 Day/Tim 9.00-9.50 9.50-10.40 10.40-11.30 11.30-12.20 L 12.50-1.40 1.40-2.30 2.30-3.20 e Mon Tue Wed Thu Fri Sat U N C H Embedded Systems (ES): Total no of theory classes : Total no of practical classes : Total no of classes : J. B.Institue of Engineering & Techology III B.Tech -I SEM (I-MID ) BRANCH: Information Technology SUB: Automata and Compiler Design TIME: 60 MINUTES MMarks: 10 Answer any Two of the following: 1. xxxxxxxxxxxxxxx a) xxxxxxxxxxxx b) xxxxxxxxxxx 2. xxxxxxxxxxxxxxxxxx a) xxxxxxxxxxxxxxxx 3.xxxxxxxxxxxxxxxxxxxxxx 4.xxxxxxxxxxxxxxx (5X2=10M) Page: 6

J. B.Institue of Engineering & Techology III B.Tech -I SEM (II-MID ) BRANCH: Information Technology SUB: Automata and Compiler Design TIME: 60 MINUTES MMarks: 10 Answer any Two of the following: (5X2=10M) 1. xxxxxxxxxxxxxxx a) xxxxxxxxxxxx b) xxxxxxxxxxx 2. xxxxxxxxxxxxxxxxxx a) xxxxxxxxxxxxxxxx 3.xxxxxxxxxxxxxxxxxxxxxx 4.xxxxxxxxxxxxxxx Marks for Internal Theory Examination ROLL.NO NAME OF THE STUDENT I MID II MID Best Page: 7