updated
authorChristian Urban <christian.urban@kcl.ac.uk>
Tue, 31 Oct 2023 12:52:36 +0000
changeset 952 33b3e790e1d4
parent 951 9e7147f33219
child 953 5e070fb0332a
updated
cws/cw04.pdf
cws/cw04.tex
Binary file cws/cw04.pdf has changed
--- a/cws/cw04.tex	Mon Oct 30 18:46:27 2023 +0000
+++ b/cws/cw04.tex	Tue Oct 31 12:52:36 2023 +0000
@@ -22,7 +22,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 and parser from the
-previous courseworks.
+previous courseworks. Implement your compiler in the file \texttt{cw04.sc}.
 
 %Please package \emph{everything}(!) in
 %a zip-file that creates a directory with the name
@@ -249,7 +249,7 @@
 Note that in this program the variable \pcode{i} is used
 twice. You need to make a decision how it should be compiled?
 Explain your decision and indicate what this program would
-print out.
+print out. Give your answer in the file \texttt{q3-answer.txt}.
 
 \subsection*{Question 4}
 
@@ -288,7 +288,8 @@
 but not \code{"Should not print"}. For this you need to add
 a label to the end of every for-loop and also to the end of the
 whole program just in case you need to jump to that label via a
-\code{break}.
+\code{break}. The file you need to be able to process for this question
+is called \texttt{break.while}.
 
 
 \subsection*{Further Information}