Two Design Problems.
Solving Problem 1 is an art. No general principles are known.
To solve Problem 2, work with state diagrams and follow these steps.
Assume Σ = {a
, b
}. Design machines to recognize strings that
a
a
bb
a
and ends with b
a
or ends with a
a
, then it doesn’t end with a
a
but a
occurs somewherea
Assume Σ = {a
, b
}. Design machines to recognize strings that
a
a
’sa
’sab
ab
and ba
ab
or ba
aa
nor bb
We can always get the complement of a language of a DFA simply by exchanging the role of the accepting and the nonaccepting states. Does this technique work for NFAs?
The Product Construction can be used to obtain the language of binary set operations (like union, intersection, set difference, symmetric difference, etc) of two regular languages.