Question: Problem 8 Let = { a , b } . a . Prove that r = a ( a + b ) * * a

Problem 8 Let ={a,b}.
a. Prove that r=a(a+b)**a+b(a+b)**b is a regular expression using the inductive definition of regular expressions. Use the techniques on slide 9 in Chap3.1 power point.
b. Give a simple English description of the strings in L(r).
c. Create an NFA M such that L(r)=L(M). Create and test your NFA on Jflap. Submit the jflap diagram for M and the testing diagram for M .
d. Testcases: aa, bb, aabb, abbaba, bbaaab, a, b, ababbb, baaababa
Problem 8 Let = { a , b } . a . Prove that r = a

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!