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 = w1w2 wn, the reverse of w, written w R, is the string w in reverse order, wn w2w1. For any language A, let AR ={w R | w in A}. For the language L recognized by the machine M in Q1, give an NFA M to recognize L R. Q3.(3 points). Convert the following regular expressions to nondeterministic finite automata: (i)010(01)+10(ii)((100)10)10 Q4.(2 points). Use the pumping lemma to show that the language {(00)n1 m(00)n | m, n 0} is not regular.

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!