--- a/cws/main_cw01.tex Fri Nov 05 17:20:53 2021 +0000
+++ b/cws/main_cw01.tex Sat Nov 06 00:06:39 2021 +0000
@@ -8,9 +8,9 @@
\begin{document}
-\section*{Main Part 1 (Scala, 7 Marks)}
+\section*{Main Part 1 (Scala, 6 Marks)}
-\IMPORTANT{This part is about Scala. It is due on \cwSIXa{} at 5pm and worth 7\%.}
+\IMPORTANT{This part is about Scala. It is due on \cwSIXa{} at 5pm and worth 6\%.}
\noindent
Also note that the running time of each part will be restricted to a
@@ -64,7 +64,7 @@
\texttt{100.0 / 3}!
\newpage
-\subsection*{Main Part 1 (7 Marks, file drumb.scala)}
+\subsection*{Main Part 1 (6 Marks, file drumb.scala)}
A purely fictional character named Mr T.~Drumb inherited in 1978
approximately 200 Million Dollar from his father. Mr Drumb prides
@@ -119,7 +119,7 @@
stock symbol and a year as arguments. The function reads the
corresponding CSV-file and returns the list of strings that start
with the given year (each line in the CSV-list is of the form
- \texttt{someyear-01-someday,someprice}).\hfill[1 Mark]
+ \texttt{someyear-01-someday,someprice}).\hfill[0.5 Marks]
\item[(2)] Write a function \texttt{get\_first\_price} that takes
again a stock symbol and a year as arguments. It should return the
@@ -212,7 +212,7 @@
for a range of years where each year the yearly profit is compounded to
the new balances and then re-invested into our portfolio.
For this use the function and results generated under (6).\\
- \mbox{}\hfill\mbox{[1 Mark]}
+ \mbox{}\hfill\mbox{[0.5 Marks]}
\end{itemize}\medskip