Question: Exercise Set 3 : In 1 - 6 , if the language is regular, write either a regular expression or a deterministic FSM for it

Exercise Set 3:
In 1-6, if the language is regular, write either a regular expression or a
deterministic FSM for it. If it is not regular, give a winning strategy for Player 2 in
the "pumping lemma game".
Let L be the language of all strings of the characters '(' and ')' that are
balanced parentheses.
Let L be the language of all strings of a's and b' s with more a' s than b's.
Let L be the language of all strings of a's and b's that have at least 2 a's and
at least 2b's.
Let L be the language of all strings of a's and b's that end with bb.
Let L be the language of all strings of a's and b's that consist of some number
of a's followed by the same number of b's.
Let L be the language of all strings of a's and b's in which the sequence ab
occurs at least once.
Be able to state the pumping lemma for regular languages.
 Exercise Set 3: In 1-6, if the language is regular, write

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!