cws/cw04.tex
author Christian Urban <urbanc@in.tum.de>
Tue, 24 Jan 2017 12:57:40 +0000
changeset 100 93260be6770f
parent 94 cws/cw03.tex@ae4708c851ee
child 105 67ce930b5935
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\documentclass{article}
62
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
     2
\usepackage{../style}
78
85f2f75abeeb updated
Christian Urban <urbanc@in.tum.de>
parents: 75
diff changeset
     3
\usepackage{../langs}
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\begin{document}
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
     7
\section*{Replacement Coursework 1 (Roman Nmerals)}
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
     9
This coursework is worth 10\%. It is about translating roman numerals
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    10
into integers and also about validating roman numerals.  The cursework
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    11
is due on 1 February at 5pm.  Make sure the files you submit can
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    12
be processed by just calling \texttt{scala
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    13
  <<filename.scala>>}.\bigskip
62
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
    14
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
    15
\noindent
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
    16
\textbf{Important:} Do not use any mutable data structures in your
74
fb2d8012ed08 updated
Christian Urban <urbanc@in.tum.de>
parents: 69
diff changeset
    17
submission! They are not needed. This excludes the use of
62
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
    18
\texttt{ListBuffer}s, for example. Do not use \texttt{return} in your
68
8da9e0c16194 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    19
code! It has a different meaning in Scala, than in Java.  Do not use
8da9e0c16194 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    20
\texttt{var}! This declares a mutable variable.  Make sure the
62
2151c77e1e24 updated
Christian Urban <urbanc@in.tum.de>
parents: 6
diff changeset
    21
functions you submit are defined on the ``top-level'' of Scala, not
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    22
inside a class or object. Also note that the running time
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    23
will be restricted to a maximum of 360 seconds. 
86
f8a781322499 updated
Christian Urban <urbanc@in.tum.de>
parents: 79
diff changeset
    24
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    25
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    26
\subsection*{Disclaimer}
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    27
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    28
It should be understood that the work you submit represents
68
8da9e0c16194 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    29
your own effort! You have not copied from anyone else. An
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    30
exception is the Scala code I showed during the lectures or
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    31
uploaded to KEATS, which you can freely use.\bigskip
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    32
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    33
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    34
\subsection*{Part 1 (Translation)}
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    35
100
93260be6770f updated
Christian Urban <urbanc@in.tum.de>
parents: 94
diff changeset
    36
\subsection*{Part 2 (Validation)}
78
85f2f75abeeb updated
Christian Urban <urbanc@in.tum.de>
parents: 75
diff changeset
    37
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    38
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    39
\end{document}
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    40
68
8da9e0c16194 updated
Christian Urban <urbanc@in.tum.de>
parents: 62
diff changeset
    41
6
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    42
%%% Local Variables: 
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    43
%%% mode: latex
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    44
%%% TeX-master: t
aae256985251 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    45
%%% End: