edited by
214 views
0 votes
0 votes
Each of the following languages is the complement of a simpler language.

In each part, construct a DFA for the simpler language, then use it to give the state diagram of a DFA for the language given.

In all parts, Σ = {a, b}.

1- {w| w does not contain the substring ab}

2- {w| w does not contain the substring baba}

3- {w| w contains neither the substrings ab nor ba}

4- {w| w is any string not in $a^{*}\cup b^{*}$ }    ( ∪ is the union )
edited by

Please log in or register to answer this question.

Related questions

56
views
0 answers
0 votes
Ramkrishna Sahu asked 6 days ago
56 views
construct a minimal DFA for the regular language L= {W | w contain 'a' in every odd position, w∈{a,b}* }
154
views
1 answers
0 votes
Unnati Singh asked May 7
154 views
Design a DFA to recognize all strings over {a,b} such that L={awa : w ϵ {a,b}* }.
239
views
2 answers
0 votes
Unnati Singh asked May 7
239 views
Construct a DFA with minimum number of states, accepting all strings over {a, b} such that the number of a’s is divisible by three and the number of b’s is divisible by two.
189
views
1 answers
0 votes
rdrd44 asked May 3
189 views
Design a DFA (Deterministic Finite Automaton) that recognizes the language L defined follows: L= {w -> {a, b}* | every a in w is immediately followed by bb}