coursework/cw01.tex
changeset 558 86334134abe5
parent 521 34775227c84f
--- a/coursework/cw01.tex	Mon Oct 23 21:00:14 2017 +0100
+++ b/coursework/cw01.tex	Fri Oct 27 23:57:21 2017 +0100
@@ -6,25 +6,19 @@
 \begin{document}
 \newcolumntype{C}[1]{>{\centering}m{#1}}
 
-\section*{Coursework 7CCSMSEN}
+\section*{Coursework for 7CCSMSEN}
 
-This coursework is worth 4\% and is due on 19 October at
-16:00. You are asked to implement a regular expression matcher
-and submit a document containing the answers for the questions
-below. You can do the implementation in any programming
-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 can submit your answers in a txt-file or pdf.
-Code send as code.
-
+This coursework is worth 10\% and is due on 1 December at 16:00. You
+are asked to fill in the access control matrix below giving the
+correct access rights. You have to submit your answers at KEATS. You
+can submit your answers in a txt-file or as pdf.
 
 
 \subsubsection*{Disclaimer}
 
-It should be understood that the work you submit represents
-your own effort. You have not copied from anyone else. An
-exception is the Scala code I showed during the lectures or
-uploaded to KEATS, which you can freely use.\bigskip
+It should be understood that the work you submit represents your
+\textbf{own} effort! You are not supposed to work in groups and have
+not copied any solution from anyone else.\bigskip
 
 
 \subsection*{Task}
@@ -34,40 +28,46 @@
 \begin{center}
 \begin{verbatim}
 $ ls -ld . * */*
-drwxr-xr-x 1 ping staff  32768 Apr  2 2010 .
+drwxr-xr-x 1 ping staff     32768 Apr  2 2010 .
 -rw----r-- 1 ping students  31359 Jul 24 2011 manual.txt
--r--rw--w- 1 bob students   4359 Jul 24 2011 report.txt
--rwsr--r-x 1 bob students 141359 Jun  1 2013 microedit
-dr--r-xr-x 1 bob staff  32768 Jul 23 2011 src
--rw-r--r-- 1 bob staff  81359 Feb 28 2012 src/code.c
+-r--rw--w- 1 bob  students   4359 Jul 24 2011 report.txt
+-rwsr--r-x 1 bob  students 141359 Jun  1 2013 microedit
+dr--r-xr-x 1 bob  staff     32768 Jul 23 2011 src
+-rw-r--r-- 1 bob  staff     81359 Feb 28 2012 src/code.c
 -r--rw---- 1 emma students    959 Jan 23 2012 src/code.h
 \end{verbatim}
 \end{center}
 
+\noindent
 with group memberships assigned as follows:
 \begin{center}
 \begin{tabular}{ll}
-Members of group staff: & ping, bob, emma\\ 
-Members of group students: & emma\\
+Members of group staff: & \texttt{ping}, \texttt{bob}, \texttt{emma}\\ 
+Members of group students: & \texttt{emma}\\
 \end{tabular}
 \end{center}
 
-The file microedit is a text editor, which allows its users to open, edit and 
-save files. Note carefully that microedit has set its setuid flag. 
-Fill in the access control matrix below that shows for each of the above five files, 
-whether ping, bob, or emma are able to obtain the right to read (R) or replace (W) its 
+\noindent
+The file \texttt{microedit} is a text editor, which allows its users
+to open, edit and save files. Note carefully that microedit has set
+its \textbf{setuid bit}.  Fill in the access control matrix below
+that shows for each of the above five files, whether \texttt{ping},
+\texttt{bob}, or \texttt{emma} are able to read (R) or replace (W) its
 contents using the editor microedit.\bigskip
 
 \begin{center}
+\def\arraystretch{1.5}  
 \begin{tabular}{r|c|c|c|c|c}
         & manual.txt & report.txt & microedit & src/code.c & src/code.h \\\hline
 ping & & & & &\\\hline
 bob & & & & &\\\hline
 emma   & & & & &\\
 \end{tabular}
-\end{center}
+\end{center}\bigskip
 
-
+\noindent
+For help about how to fill in the access control matrix, see additional hints
+uploaded to KEATS.
 \end{document}
 
 %%% Local Variables: