Bachelor of Science in Computer Science and Information Technology Teachers Orientation Program Paush 1-2, Course no: CSC-251 Full Marks: 90+10

Similar documents
A R "! I,,, !~ii ii! A ow ' r.-ii ' i ' JA' V5, 9. MiN, ;

Language properties and Grammar of Parallel and Series Parallel Languages

A General Class of Noncontext Free Grammars Generating Context Free Languages

COMPUTATIONAL COMPLEXITY OF LEFT-ASSOCIATIVE GRAMMAR

A Version Space Approach to Learning Context-free Grammars

Enumeration of Context-Free Languages and Related Structures

Grammars & Parsing, Part 1:

RANKING AND UNRANKING LEFT SZILARD LANGUAGES. Erkki Mäkinen DEPARTMENT OF COMPUTER SCIENCE UNIVERSITY OF TAMPERE REPORT A ER E P S I M S

We are strong in research and particularly noted in software engineering, information security and privacy, and humane gaming.

Proof Theory for Syntacticians

Syntax Parsing 1. Grammars and parsing 2. Top-down and bottom-up parsing 3. Chart parsers 4. Bottom-up chart parsing 5. The Earley Algorithm

WSU Five-Year Program Review Self-Study Cover Page

Erkki Mäkinen State change languages as homomorphic images of Szilard languages

Context Free Grammars. Many slides from Michael Collins

Self Study Report Computer Science

Parsing of part-of-speech tagged Assamese Texts

GACE Computer Science Assessment Test at a Glance

Basic Parsing with Context-Free Grammars. Some slides adapted from Julia Hirschberg and Dan Jurafsky 1

Math 181, Calculus I

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

arxiv: v1 [math.at] 10 Jan 2016

Course Specifications

Firms and Markets Saturdays Summer I 2014

SAM - Sensors, Actuators and Microcontrollers in Mobile Robots

Radius STEM Readiness TM

On the Polynomial Degree of Minterm-Cyclic Functions

systems have been developed that are well-suited to phenomena in but is properly contained in the indexed languages. We give a

Developing a TT-MCTAG for German with an RCG-based Parser

Informatics 2A: Language Complexity and the. Inf2A: Chomsky Hierarchy

Probability and Game Theory Course Syllabus

Specification of the Verity Learning Companion and Self-Assessment Tool

The Strong Minimalist Thesis and Bounded Optimality

Action Models and their Induction

(Sub)Gradient Descent

Natural Language Processing. George Konidaris

Introduction to HPSG. Introduction. Historical Overview. The HPSG architecture. Signature. Linguistic Objects. Descriptions.

Lecture 1: Machine Learning Basics

"f TOPIC =T COMP COMP... OBJ

CS 598 Natural Language Processing

AP Calculus AB. Nevada Academic Standards that are assessable at the local level only.

CS 1103 Computer Science I Honors. Fall Instructor Muller. Syllabus

Introduction to Simulation

CONCEPT MAPS AS A DEVICE FOR LEARNING DATABASE CONCEPTS

Spring 2016 Stony Brook University Instructor: Dr. Paul Fodor

PH.D. IN COMPUTER SCIENCE PROGRAM (POST M.S.)

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

The Interface between Phrasal and Functional Constraints

Implementing a tool to Support KAOS-Beta Process Model Using EPF

ReinForest: Multi-Domain Dialogue Management Using Hierarchical Policies and Knowledge Ontology

Lecture 10: Reinforcement Learning

School of Innovative Technologies and Engineering

ENGBG1 ENGBL1 Campus Linguistics. Meeting 2. Chapter 7 (Morphology) and chapter 9 (Syntax) Pia Sundqvist

CS 101 Computer Science I Fall Instructor Muller. Syllabus

Senior Project Information

PRODUCT PLATFORM DESIGN: A GRAPH GRAMMAR APPROACH

MASTER OF SCIENCE (M.S.) MAJOR IN COMPUTER SCIENCE

Evolution of Collective Commitment during Teamwork

South Carolina English Language Arts

IT Students Workshop within Strategic Partnership of Leibniz University and Peter the Great St. Petersburg Polytechnic University

CSC200: Lecture 4. Allan Borodin

Computer Science 141: Computing Hardware Course Information Fall 2012

ENME 605 Advanced Control Systems, Fall 2015 Department of Mechanical Engineering

LOS ANGELES CITY COLLEGE (LACC) ALTERNATE MEDIA PRODUCTION POLICY EQUAL ACCESS TO INSTRUCTIONAL AND COLLEGE WIDE INFORMATION

16 WEEKS STUDY PLAN FOR BS(IT)2 nd Semester

Axiom 2013 Team Description Paper

Machine Learning and Data Mining. Ensembles of Learners. Prof. Alexander Ihler

S T A T 251 C o u r s e S y l l a b u s I n t r o d u c t i o n t o p r o b a b i l i t y

Lecture 1: Basic Concepts of Machine Learning

Pre-Processing MRSes

Mathematics Assessment Plan

Foothill College Fall 2014 Math My Way Math 230/235 MTWThF 10:00-11:50 (click on Math My Way tab) Math My Way Instructors:

PELLISSIPPI STATE TECHNICAL COMMUNITY COLLEGE MASTER SYLLABUS APPLIED STATICS MET 1040

Answer Key Applied Calculus 4

UNIT ONE Tools of Algebra

Classifying combinations: Do students distinguish between different types of combination problems?

Are You Ready? Simplify Fractions

Instructor: Matthew Wickes Kilgore Office: ES 310

THE UNIVERSITY OF SYDNEY Semester 2, Information Sheet for MATH2068/2988 Number Theory and Cryptography

Math Techniques of Calculus I Penn State University Summer Session 2017

An Introduction to the Minimalist Program

Compositional Semantics

MTH 141 Calculus 1 Syllabus Spring 2017

Discriminative Learning of Beam-Search Heuristics for Planning

Chapter 2 Rule Learning in a Nutshell

CS Machine Learning

Parallel Evaluation in Stratal OT * Adam Baker University of Arizona

Kendra Kilmer Texas A&M University - Department of Mathematics, Mailstop 3368 College Station, TX

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

Course Content Concepts

Data Structures and Algorithms

Machine Learning from Garden Path Sentences: The Application of Computational Linguistics

Teaching a Laboratory Section

Parsing with Treebank Grammars: Empirical Bounds, Theoretical Models, and the Structure of the Penn Treebank

Abstractions and the Brain

Chinese Language Parsing with Maximum-Entropy-Inspired Parser

White Paper. The Art of Learning

Pearson Mymathlab Answer Key Math 110 Amu

Refining the Design of a Contracting Finite-State Dependency Parser

AU MATH Calculus I 2017 Spring SYLLABUS

PHYSICS 40S - COURSE OUTLINE AND REQUIREMENTS Welcome to Physics 40S for !! Mr. Bryan Doiron

Transcription:

Bachelor of Science in Computer Science and Information Technology Teachers Orientation Program Paush 1-2, 2066 Course Title: Theory of Computation Course no: CSC-251 Full Marks: 90+10 Credit hours: 3 Pass Marks: 36+4 Nature of course: Theory (3 Hrs.)+ Tutorials (3 Hrs.) Course Synopsis: Deterministic and non-deterministic finite state machines, regular expressions, languages and their properties. Context free grammars, push down automata, Turing machines and computability, undecidable and intractable problems, and Computational complexity. Goal: To gain understanding of the abstract models of computation and formal language approach to computation. Course contents: Unit 1: 14 Hrs. 1.1 Review of Mathematical Preliminaries: 1 Hrs. Quick review of Sets, Logic, Functions, Relations, Languages, Proofs. 1.2 Finite Automata: 7 Hrs. Introduction of Finite State Machine Deterministic Finite Automata(DFA): Formal Definition, Notation of DFA, Extending the transition function of DFA,Language accepted by DFA Non-deterministic Finite Automata(NFA): Formal Definition, Notation, Extended transition function of NFA, language of NFA, Equivalence of Deterministic and Nondeterministic Finite Automata- The Subset construction method, Theorems related to equivalence of DFA and NFA Finite Automata with Epsilon- Transition: Formal Definition, Notation, Extended Transition function of epsilon transition, Removing epsilon transition from epsilon NFA. Construction of DFA from epsilon NFA. Finite State Machine with output Moore Machine and Mealy machine general concepts.

1.3 Regular Expressions and Languages: Introduction to regular operators, regular languages, Precedence of regular operators Regular expressions, Formal definition of regular expressions, Equivalence of Regular Expressions and Finite Automata. Theorem for conversion from regular expression to epsilon FA. Application of regular expressions Algebraic Laws for Regular Expressions. Properties of Regular languages o Pumping Lemma and its application o Closure properties of regular languages with proofs. o Decision properties of regular languages- general concepts of decision properties, Minimization of Finite State Machine. Unit 2: 11 Hrs. 2.1 Context-Free Grammar 6 Hrs Introduction to CFG, using grammer rules to describe a language, formal definition to CFG. Derivation using grammer- Bottom up and Top down approach, Left -most and Right -most derivation. The language of a Grammer, sentential form, derivation-tree, construction of parse-tree for a string from a grammer. Ambiguous grammer, inherent ambiguity, regular grammer. Equivalence of regular grammer and finite automata. Simplification of CFG. Normal Forms: Chomsky and Greibach Normal forms. Closure properties of Context Free Language Pumping Lemma for Context Free Language- proving a language to be non-context free. 2.2 Push Down Automata (PDA) 5 Hrs Introduction, deterministic and non-deterministic PDA. Formal Definitions. Moves of PDA, Graphical representation of PDA, Instantaneous Description. Computation tree for PDA processing the input string. Language of PDA- Acceptance by final state and by empty stack Conversion of PDA accepting by final state to accpting by empty stack and viceversa.(theorems) Equivalence of PDA and CFG conversion from CFG to PDA and vice-versa. Unit 3: 10 Hrs. Turing Machines Introduction to Turing Machines, Formal Definitions, Transition Diagram and transition table, Language of TM Roles of TM- language recognizer, concept of TM as computing a function and enumerator of strings of languages.

Computation by Turing Machines- Programming techniques viz. storage in a state, TM with multiple tracks, subroutines. Variants of Turing Machines Multi-tape Turing Machine, Non-deterministic Turing Machines, Equivalence of one tape and multi-tape TM(related theorems), Concept of Turing Enumerable Language. Church s Thesis and Algorithm Universal Turing Machines Concept of Halting Problems Turing Machines and Computers- Simulating a TM by computer, simulating a real computer by a Turing Machine. Unit 4: 10 Hrs. 4.1 Undecidability 6 Hrs Concepts of Recursive and Recursively Enumerable Languages. Encoding of Turing Machine, the diagonalization language, complements of RE language Proof of Universal Language Theorem. Concepts of Unrestricted Grammars and Chomsky Hierarchy. Unsolvable Problems by Turing Machines. Undecidable Problems, Post's Correspondence Problems. 4.2 Computational Complexity and Intractable Problems 4 Hrs Measuring Complexity, Class P and Class NP Problems solvable in Polynomial time- Kruskal s algorithm for minimum weight spanning tree. Non- deterministic Polynomial time-problem TSP NP- Completeness and Problem Reduction NP-Complete Problems Introduction to Satisfiability Problem Normal Forms for Boolean Expressions Text Book: John E. Hopcroft, Rajeev Motwani, Jeffrey D. Ullman, Introduction to Automata Theory, Languages, and Computation, Second Edition, Addison-Wesley, 2001. ISBN: 81-7808-347-7 References: 1. Efim Kinber, Carl Smith, Theory of Computing: A Gentle introduction, Prentice- Hall, 2001. ISBN: 0-13-027961-7.

2. John Martin, Introduction to Languages and the theory of computation, 3 rd Edition, Tata McGraw Hill, 2003, ISBN:0-07-049939-X 3. Harry R. Lewis and Christos H. Papadimitriou, Elements of the Theory of Computation, 2 nd Edition, Prentice Hall, 1998. Homework Assignments: Homework assignments will be given through out the semester covering the lecture materials in each unit. The homework assignment will cover the 30% of the internal evaluation. Pre-requisite: Discrete Mathematics, Fundamentals of Computer Programming and Data structure & algorithms. Evaluation and Grading: The evaluation and grading includes the 20% weitage for homework assignments and 2 mid term exam and 80 % weitage for final semester exam. The grading of the 20% internal evaluation will be as: Homework assignment: 30% (6 marks) First Mid-term exam: 30% (6 marks) Second Mid-term exam: 40% (8 marks) Homework assignment will be given in at last each weekend.

Bachelor of Science in Computer Science and Information Technology Model Question 2009 Course title: Theory of Computation F.M: 80 Course No: CSC-251 P.M: 32 Credit Hours: 3 Attempt all Questions Group A [8x4=32] 1. Differentiate the DEA and NFA with suitable examples. 2. Draw DFA for the following languages over {0,1} a) All strings with even no of o s and even no of 1 s b) All strings of length at most 4. 3. Prove that NDFA = DFA 4. Convert the following grammar into Chomsky Normal form., 5. How a CFG can be converted into PDA? Convert the following CFG into PDA. 6. Describe about the Universal Turing Machine. 7. Construct a Turing Machine accepting a language of palindrome over {a,b}* with each string of even length. 8. Explain about recursive and recursively enumerable language Group B: [6x8=48] 9. Define a NFA with epsilon transition. Explain how a -NFA is converted into DFA? Convert the following -NFA into equivalent DFA. B D F A H C E G 10. State and prove the pumping lemma for regular language. Show that the language L={a m b m m 1} is not a regular language. 11. Define Context Free Grammar. Given the following grammar

For the string aabbbaabaaab, find the left-most, right-most derivation and construct a parse tree. 12. Define the PDA and its language with suitable example. Explain how a PDA accepting by empty stack can be converted into PDA accepting by Final stack? 13. Explain multi-tape Turing Machine. Show that every language accepted by a multitape Turing Machine is recursively enumerable. 14. Explain the Chomsky hierarchy of the languages. Marks Distribution: End 1. Unit 1: 24-28 Marks(2 to 3 questions in Group A and 2 questions in Group B) 2. Unit 2: 20-24 Marks(1 to 2 questions in Group A and 2 questions in Group B) 3. Unit 3: 16 Marks(2 questions in Group A and 1 questions in Group B) 4. Unit 4: 12-16 Marks(1 to 2 questions in Group A and 1 questions in Group B) Note: Each questions may be asked by breaking down into more than one questions.