42/122
\begin{frame}{Exercise (5)}
  \bigskip

  \begin{exampleblock}{}
    \emph{Construct deterministic finite automata} for the languages:
    \begin{talign}
      \{\, w\in\{a,b\}^*\mid w \text{ contains the subword }bab \,\}
    \end{talign}
    and
    \begin{talign}
      \{\, w\in\{a,b\}^*\mid w \text{ does \emph{not} contain the subword } bab \,\}
    \end{talign}
  \end{exampleblock}
  \bigskip

  \begin{center}
    \includegraphics[height=35mm]{images/thinking.jpg}
  \end{center}
  \vspace{10cm}
\end{frame}