Assignment
Assignment
Note: 1. Student is required to attempt all questions with neat and clean representation of the answers to the
asked questions of the assignment. The purpose of the assignment is to enable the student to write
appropriate response to question relevant to final end-semester university examination.
2. Separate register for the assignment need to be submitted so that the same could be considered for
teacher assessment marks by the subject teacher.
UNIT 1
UNIT 2
1. Provide step-by-step examples to convert the following regular expressions to NFAs:
a. (a+b)*abb
b. (0+1)*0(0+1)(0+1)
2. Write a recursive regular expression to represent the language of all strings over {a, b}
containing an equal number of 'a's and 'b's.
UNIT 3
UNIT 4
1 Design a Tring machine to recognize the following language: L={anbncn | n>=1}.
2 Design a Turing Machine to check whether a given number is divisible by ‘3’ or not.
3 Discuss the difference between deterministic Turing machines (DTM) and non-deterministic
Turing machines (NTM). Are there any differences in their computational power?