\documentclass[11pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{amsmath}
\usepackage{listings}
\usepackage{graphicx}
\usepackage[usenames,dvipsnames]{color}
\lstset{
    language=python,
    basicstyle=\tt\small,
    commentstyle=\color{Green},
    keywordstyle=\color{blue},
    stringstyle=\color{Orange},
    keepspaces=true,
    showstringspaces=false,
    emphstyle=\color{Maroon},
    emph={__name__}
}

\setlength{\parindent}{0pt}
\setlength{\parskip}{4pt}


\begin{document}

\large
CS 228, HW \#11 \hfill Due: 4/25/2014

\textbf{Name:} your name here

\textbf{e-ID:} your e-ID here

\textbf{Acknowledgment statement:}


\hrule
\normalsize

\bigskip
Unless otherwise specified, the exercises listed below are from the
textbook \emph{Discrete Mathematics and Its Applications, 7th Ed.}, by
Kenneth H.~Rosen. \textbf{Please show all of your work and explain
  your reasoning; don't just give the final answer.} Submit your
\texttt{hw11.tex} and \texttt{hw11.pdf} files via Canvas before 1:00 PM
on the due date. As a reminder, late work will NOT be accepted.


\section*{Section 13.2 (page 864)}

\subsection*{Exercise 2, Part b}
% the table header is provided, just fill in the rows

\begin{tabular}{|c|c|c|c|c|}
\hline
& \multicolumn{2}{c|}{Next State} & \multicolumn{2}{c|}{Output} \\
\hline
State & ~~0~~ & ~~1~~ & ~~0~~ & ~~1~~ \\
\hline
\hline
& & & & \\
& & & & \\
& & & & \\
\hline
\end{tabular}

\subsection*{Exercise 4, Part b}
% describe what happens for each character of the input

\subsection*{Exercise 8}
% Provide your answer in table form.

\subsection*{Exercise 8, Explanation}
% Briefly explain how your FSM machine operates. 

\section*{Section 13.3 (page 875)}

\subsection*{Exercise 10: b, d, f}

\subsection*{Exercise 18}

\subsection*{Exercise 28}

% Prepare your solution using JFLAP.  Include your .png with your
% submission.  You can download JFLAP from the supplemental material
% page on the course web site.  

% Uncomment the following line to include the image in your .pdf file.

%\includegraphics[scale=0.65]{hw11-q28.png}

\subsection*{Exercise 46}

\section*{Section 13.4 (page 887)}

\subsection*{Exercise 4: b, d, f, h}

\subsection*{Exercise 6: c, e}

\subsection*{Exercise 10: b, c}

% Prepare your solution using JFLAP.  Include your .png with your submission.
% Uncomment the following line to include the image in your .pdf file. 

%\includegraphics[scale=0.65]{hw11-q10b.png}
%\par\bigskip
%\includegraphics[scale=0.65]{hw11-q10c.png}



\end{document}

