cws/cw03.tex
changeset 943 5365ef60707e
parent 901 33cff35bdc1a
child 950 fa97d2f60f11
--- a/cws/cw03.tex	Fri Oct 13 23:49:34 2023 +0100
+++ b/cws/cw03.tex	Sat Oct 21 09:09:09 2023 +0100
@@ -15,8 +15,7 @@
 language you like, but you need to submit the source code with which
 you answered the questions, otherwise a mark of 0\% will be
 awarded. You should use the lexer from the previous coursework for the
-parser.  Please package everything(!) in a zip-file that creates a
-directory with the name \texttt{YournameYourFamilyname} on my end.
+parser.  Please submit your code to Github by the deadline.
 
 \subsection*{Disclaimer\alert}
 
@@ -162,6 +161,40 @@
 \caption{Collatz series program.\label{collatz}}
 \end{figure}
 
+\clearpage
+\newpage
+\section*{Answers}
+
+\noindent
+\textbf{Question 1 (Grammar):}\\
+
+\mbox{}\\[9cm]
+
+\noindent
+\textbf{Question 2 (Prase Tree):}\\
+
+\mbox{}\\[8cm]
+
+
+\noindent
+\textbf{Question 3 (Timings):}\\
+
+\begin{center}
+  \def\arraystretch{1.5}
+  \begin{tabular}{l|l}
+    n & secs\\
+    \hline
+    100 & \\
+    500 & \\
+    700 & \\
+    1000 & \\
+    \\
+    \\
+    \\
+    \\
+   \end{tabular} 
+\end{center}  
+
 \end{document}
 
 %%% Local Variables: