Question: 5. [12pt] (Submit a JFLAP file and a printout on your HW showing accepted/rejected strings) Consider the following languages. In all cases, E = {0,1}.

 5. [12pt] (Submit a JFLAP file and a printout on your

5. [12pt] (Submit a JFLAP file and a printout on your HW showing accepted/rejected strings) Consider the following languages. In all cases, E = {0,1}. L1 = {w w starts with a 1 and ends with a 0} L2 = {w L3 = { w w does not contain the substring 1010} starts with 1 and every even position of w is 0} w Given these languages above, answer the following questions. (a) Using the construction in the proof of Theorem 1.45, give the state diagram of an NFA recognizing La = Li UL2. (b) Using the construction in the proof of Theorem 1.47, give the state diagram of an NFA recognizing L = L2 L3. (c) Using the construction in the proof of Theorem 1.49, give the state diagram of an NFA recognizing Lc = (L3)* (d) Using the construction given in the sample solution in the proof of Group Exercise 2 of HW 2, give the state diagram of an NFA recognizing La = (L1)R. 5. [12pt] (Submit a JFLAP file and a printout on your HW showing accepted/rejected strings) Consider the following languages. In all cases, E = {0,1}. L1 = {w w starts with a 1 and ends with a 0} L2 = {w L3 = { w w does not contain the substring 1010} starts with 1 and every even position of w is 0} w Given these languages above, answer the following questions. (a) Using the construction in the proof of Theorem 1.45, give the state diagram of an NFA recognizing La = Li UL2. (b) Using the construction in the proof of Theorem 1.47, give the state diagram of an NFA recognizing L = L2 L3. (c) Using the construction in the proof of Theorem 1.49, give the state diagram of an NFA recognizing Lc = (L3)* (d) Using the construction given in the sample solution in the proof of Group Exercise 2 of HW 2, give the state diagram of an NFA recognizing La = (L1)R

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 Databases Questions!