--- a/cws/main_cw04.tex Sun Nov 08 03:08:31 2020 +0000
+++ b/cws/main_cw04.tex Sun Nov 08 13:09:38 2020 +0000
@@ -29,7 +29,9 @@
This part is about searching and backtracking. You are asked to
implement Scala programs that solve various versions of the
\textit{Knight's Tour Problem} on a chessboard. The preliminary part (4\%) is
-due on \cwNINE{} at 5pm; the core part (6\%) is due on \cwNINEa{} at 5pm.\bigskip
+due on \cwNINE{} at 5pm; the core part (6\%) is due on \cwNINEa{} at 5pm.
+Any 1\% you achieve in the preliminary part counts as your ``weekly engagement''.
+\bigskip
%Note the core, more advanced, part might include material you have not
%yet seen in the first three lectures. \bigskip
--- a/cws/main_cw05.tex Sun Nov 08 03:08:31 2020 +0000
+++ b/cws/main_cw05.tex Sun Nov 08 13:09:38 2020 +0000
@@ -15,7 +15,7 @@
\begin{document}
-\section*{Part 10 (Scala)}
+\section*{Part 10 (Scala, 10 Marks)}
\mbox{}\hfill\textit{``If there's one feature that makes Scala, `Scala',}\\
\mbox{}\hfill\textit{ I would pick implicits.''}\smallskip\\
@@ -27,7 +27,8 @@
brainf***. Actually, we will implement an interpreter for our own version
of this language called brainf*ck++.\bigskip
-\IMPORTANT{This part is worth 10\% and you need to submit it on \cwTEN{} at 5pm.}
+\IMPORTANT{This part is worth 10\% and you need to submit it on \cwTEN{} at 5pm.
+Any 1\% you achieve counts as your ``weekly engagement''.}
\noindent
Also note that the running time of each part will be restricted to a
Binary file cws/pre_cw01.pdf has changed
--- a/cws/pre_cw01.tex Sun Nov 08 03:08:31 2020 +0000
+++ b/cws/pre_cw01.tex Sun Nov 08 13:09:38 2020 +0000
@@ -15,7 +15,8 @@
\mbox{}\hfill\textit{ --- Brian W. Kernighan, in Unix for Beginners (1979)}\bigskip
-\IMPORTANT{This part is about Scala. It is due on \cwSIX{} at 5pm and worth 3\%.}
+\IMPORTANT{This part is about Scala. It is due on \cwSIX{} at 5pm and worth 3\%.
+Any 1\% you achieve in the preliminary part counts as your ``weekly engagement''.}
\noindent
Also note that the running time of each part will be restricted to a
--- a/cws/pre_cw02.tex Sun Nov 08 03:08:31 2020 +0000
+++ b/cws/pre_cw02.tex Sun Nov 08 13:09:38 2020 +0000
@@ -16,7 +16,8 @@
\mbox{}\hfill\textit{ --- Frederick P.~Brooks (author of The Mythical Man-Month)}\bigskip\medskip
\IMPORTANT{You are asked to implement a Scala program for measuring similarity in
- texts. The preliminary part is due on \cwSEVEN{} at 5pm and worth 3\%.}
+ texts. The preliminary part is due on \cwSEVEN{} at 5pm and worth 3\%.
+ Any 1\% you achieve in the preliminary part counts as your ``weekly engagement''.}
\noindent
Also note that the running time of each part will be restricted to a
--- a/cws/pre_cw03.tex Sun Nov 08 03:08:31 2020 +0000
+++ b/cws/pre_cw03.tex Sun Nov 08 13:09:38 2020 +0000
@@ -25,7 +25,9 @@
\bigskip
\IMPORTANT{This part is about the shunting yard algorithm by Dijkstra.
- The preliminary part is due on \cwEIGHT{} at 5pm and worth 3\%.}
+ The preliminary part is due on \cwEIGHT{} at 5pm and worth 3\%.
+ Any 1\% you achieve in the preliminary part counts as your
+ ``weekly engagement''.}
\noindent
Also note that the running time of each part will be restricted to a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cws/upload Sun Nov 08 13:09:38 2020 +0000
@@ -0,0 +1,15 @@
+#!/bin/bash
+set -euo pipefail
+
+fls=${1:-"pre_cw01.pdf pre_cw02.pdf pre_cw03.pdf main_cw01.pdf main_cw02.pdf main_cw03.pdf main_cw04.pdf main_cw05.pdf"}
+
+for f in $fls; do
+ echo -e "uploading $f"
+done
+
+
+scp $fls k1192855@bastion:public_html
+
+
+#hg commit -m "updated jars"
+
--- a/mk_jars Sun Nov 08 03:08:31 2020 +0000
+++ b/mk_jars Sun Nov 08 13:09:38 2020 +0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
set -e
subdirs=${1:-"pre_solution1 pre_solution2 pre_solution3 pre_solution4 main_solution1 main_solution2 main_solution3 main_solution4 main_solution5"}