exam3110.tex 1.73 KB
Newer Older
Loïc Barrault's avatar
Loïc Barrault committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

\documentclass[12pt]{book}

\usepackage{tuos_exam}
\setlength{\topmargin}{-15mm}
\setlength{\textheight}{238mm}

\usepackage{amsfonts}
\usepackage{amsmath}

% \showanswers % *** TOGGLE IN/OUT TO SHOW/HIDE ANSWERS *** 

\pressmark{COM3110/COM6150}
\pressmark{COM6150}
\pressmark{COM3110}
\department{{\bf DEPARTMENT OF COMPUTER SCIENCE}}
\examtitle{{\bf TEXT PROCESSING}}
\examdate{{\bf Autumn Semester 2011-2012}}
\examtime{{\bf 2 hours}}
% \dataProvided{Deduction Rules}
\setter{Mark Stevenson}
\rubric{{\bf Answer THREE questions.

All questions carry equal weight. Figures in square brackets indicate the
percentage of available marks allocated to each part of a question.}}

% \doNotRemove %% MODIFIES FRONT PAGE TO "DO NOT REMOVE FROM HALL" FORMAT

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcounter{myfboxdispx}
\newcounter{myfboxdispy}
\setcounter{myfboxdispx}{0}
\setcounter{myfboxdispy}{-4}

\newcommand{\myfboxdisplace}[2]{%
   \addtocounter{myfboxdispx}{#1}%
   \addtocounter{myfboxdispy}{#2}}

\newenvironment{myfbox}[2]{%
\setlength{\unitlength}{1mm}%
\begin{picture}(0,0)(\value{myfboxdispx},\value{myfboxdispy})
\put(0,-#2){\framebox(#1,#2){}}
\end{picture}~~\begin{minipage}[t]{#1mm}}%
{\end{minipage}%
\setcounter{myfboxdispx}{0}%
\setcounter{myfboxdispy}{-4}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\stretchit}[1]{\addtolength{\itemsep}{#1mm}}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\myargmax}[1]{\begin{array}[t]{c}\argmax\\{^#1}\end{array}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




\begin{document}
\begin{exam}

\input{Question_ir}

\input{Question_mt}

\newpage

\input{Question_summ}

\newpage

\input{Question_compression}




\questionsend

\end{exam}
\end{document}