Question: Q 1 . ( 3 points ) . Consider the following NFA M over the alphabet = { 0 , 1 } : Give a

Q1.(3 points). Consider the following NFA M over the alphabet ={0,1} :
Give a regular expression for the language L recognized by M. Use the
following order in ripping (removing) out states: q1,q2,q3,q4,q5,q0.
Q2.(2 points). For any string w=w1w2cdotswn, the reverse of w, written
wR, is the string w in reverse order, wncdotsw2w1. For any language A, let
AR={wR|winA}. For the language L recognized by the machine M in Q1,
give an NFA M' to recognize LR.
Q3.(3 points). Convert the following regular expressions to nondeterministic
finite automata:
(i)0**10(01)+10
(ii)((100**)**10)**10**
Q4.(2 points). Use the pumping lemma to show that the language
{(00)n1m(00)n|m,n0} is not regular.
Q 1 . ( 3 points ) . Consider the following NFA M

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!