Question: 1. Write the regular expression for the language: { w {a, b, c}* | w does not contain ab , and, w ends with c,
1. Write the regular expression for the language: { w {a, b, c}* | w does not contain ab , and, w ends with c, and, w has even length }.
2.Prove that it is impossible to construct a DFA to recognize the language : {w | w {a, b}*, and, the number of a is more than the number of b.}.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
