Question: 3. Write a regular expression for each of the following languages. The alphabet = {a, b}. L1 = {x | x has a 3n+1 a's

 3. Write a regular expression for each of the following languages.

3. Write a regular expression for each of the following languages. The alphabet = {a, b}. L1 = {x | x has a 3n+1 a's for some n>0 or x ends with baba L2 = {x | x does not begin with aa 4. Consider the following regular expression. The aphabet is {a,b,c,d}. (ab+c)*(b+dc*)*da* For each string listed below, determine whether the string is generated by the above regulalr expression. Circle those strings that are generated by the regular expression. bdccd abccabdccdaa abd cdccbbada cdda

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!