next up previous
Next: Exercise 2. Up: Final-13-04-2004 Previous: Guidelines.

Exercise 1.

We consider the alphabet $ \Sigma$ = {a, b}. For each of the following languages over $ \Sigma$ give an automaton (deterministic or not) that recognizes this language.
  1. L1 is the language consisting of all words w over $ \Sigma$ such that w is not the empty word and none of the words aa, bb is a factor of w. Hint. It would be useful for the remaining questions to build a deterministic automaton of L1.
  2. $ \overline{{L_1}}$ is the language consisting of all words w over $ \Sigma$ such that w is the empty word or one of the words aa, bb is a factor of w.
  3. L12 is the language consisting of all words w over $ \Sigma$ such that w is not the empty word and no words of the form an, bn for n $ \geq$ 3 is a factor of w.
  4. L2 is the language consisting of all words w over $ \Sigma$ that belong to L12 but not to L1.

Answer 1  
\fbox{
\begin{minipage}{13 cm}
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\mbox{ } \\
\end{minipage}}



next up previous
Next: Exercise 2. Up: Final-13-04-2004 Previous: Guidelines.
Marc Moreno Maza
2004-12-02