Question: ( Graded for completeness ) Regular expressions ( 1 0 points ) : ( a ) Give three regular expressions that all describe the set

(Graded for completeness) Regular expressions (10 points):
(a) Give three regular expressions that all describe the set of all strings over {a,b} that have
even length. Ungraded bonus challenge: Make the expressions as different as possible!
(b) A friend tells you that each regular expression that has a Kleene star (*) describes an infinite
language. Are they right? Either help them justify their claim or give a counterexample to
disprove it and then fix the formula.
 (Graded for completeness) Regular expressions (10 points): (a) Give three regular

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!