Question: ( Corrected ) Let A be defined as A = { w i n { a , b } * * | w has two

(Corrected) Let A be defined as
A={win{a,b}**|w has two a's separated byan odd number of symbols }
For example, babbaabbbabbbba and abababba are strings in A, but bbabbb, bbabb and bbabbab
are not.
Note: every xin{a,b}** that has 3 a's must be in A, because if there are an odd number of symbols
between the first a and the second a or an odd number of symbols between the second a and the
third a then xinA. On the other hand, if there's an even number of symbols between the first and
second a and between the second and third a, then there's an odd number of symbols between the
first and third a (since even +1+ even is odd).
Draw the smallest NFA you can for A. Then, convert your NFA to an equivalent DFA using the
"subset construction" method (Theorem 1.39).
 (Corrected) Let A be defined as A={win{a,b}**|w has two a's separated

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!