Question: (a) Write a regular expression for the language L on the alphabet { a, b, c } that recognises all strings in which the letter

(a) Write a regular expression for the language L on the alphabet { a, b, c } that recognises all strings in which the letter b either is the end of the string or is directly followed by the letter a . (That is, the same language as in Question 3).

(b) Write a regular expression for the language L , which is defined as being the complementary language to L ; that is, L is the set of strings over the alphabet { a, b, c } that are not in L .

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!