equal
deleted
inserted
replaced
|
1 \documentclass{article} |
|
2 \usepackage{../style} |
|
3 \usepackage{../langs} |
|
4 |
|
5 \begin{document} |
|
6 |
|
7 \section*{Replacement Coursework 1 (Roman Nmerals)} |
|
8 |
|
9 This coursework is worth 10\%. It is about translating roman numerals |
|
10 into integers and also about validating roman numerals. The cursework |
|
11 is due on 1 February at 5pm. Make sure the files you submit can |
|
12 be processed by just calling \texttt{scala |
|
13 <<filename.scala>>}.\bigskip |
|
14 |
|
15 \noindent |
|
16 \textbf{Important:} Do not use any mutable data structures in your |
|
17 submission! They are not needed. This excludes the use of |
|
18 \texttt{ListBuffer}s, for example. Do not use \texttt{return} in your |
|
19 code! It has a different meaning in Scala, than in Java. Do not use |
|
20 \texttt{var}! This declares a mutable variable. Make sure the |
|
21 functions you submit are defined on the ``top-level'' of Scala, not |
|
22 inside a class or object. Also note that the running time |
|
23 will be restricted to a maximum of 360 seconds. |
|
24 |
|
25 |
|
26 \subsection*{Disclaimer} |
|
27 |
|
28 It should be understood that the work you submit represents |
|
29 your own effort! You have not copied from anyone else. An |
|
30 exception is the Scala code I showed during the lectures or |
|
31 uploaded to KEATS, which you can freely use.\bigskip |
|
32 |
|
33 |
|
34 \subsection*{Part 1 (Translation)} |
|
35 |
|
36 \subsection*{Part 2 (Validation)} |
|
37 |
|
38 |
|
39 \end{document} |
|
40 |
|
41 |
|
42 %%% Local Variables: |
|
43 %%% mode: latex |
|
44 %%% TeX-master: t |
|
45 %%% End: |