Theory of Automata-Assignment 3
Theory of Automata-Assignment 3
ASSIGNMENT#3
Purpose: To learn about the key terminologies of Automata Languages, Regular Expressions and
Finite Automata
Instructions:
1. Submission deadline: December 30, 2023
2. Late submissions will not be accepted.
3. Copied assignments either from internet or student will be marked as 0.
4. Study the book chapter and its exercise, before going to solve problems.
5. Submit hand written assignment to class CR.
Study Resources: Study chapter 8,9,10 with its exercise, of INTRODUCTION TO COMPUTER
THEORY SECOND EDITION Daniel I. A. Cohen
Assignment Tasks
Task#1: Use the pumping lemma to show that each of these languages is nonregular:
(i) { an bn+ 1 } = { abb aabbb aaahbbb }
(ii) { anbnan } = { aba aabbaa aaabbbaaa aaaabbbbaaaa }
(iii) { a"b2n } = { abb aabbbb aaabhbbbb }
(iv) { an ban} = { aba aabaa aaabaaa }
Task#2: For each of the following pairs of regular languages, find a regular expression and an
FA that each define L1 and L2:
1. (a + b)*a b(a + b)*
2. (a + b)*a (a + b)*aa(a + b)*
3. (a + b)*a (a + b)*b
4. (a + b)b(a + b)* b(a + b)*
5. (a + b)b(a + b)* (a + b)*aa(a + b)*