\documentclass[11pt,twoside,a4paper]{article}
\usepackage{amsfonts}
\usepackage{exam}

%\include{999defns}    % it is clearer if you include necessary definitions
                      % in a separate file but please try to use
                      % standard LaTeX whenever possible
\printstyle 3    % see below 1 minimizes initial page layout difficulties

% Possible \printstyle values are 0, 1, 2 or 3
%
%   0: no forced pagebreaks, temporary question codes
%   1: one question per page, temporary question codes
%   2: title page, one question per page, temporary question codes
%   3: final version
%
% \finalprint is synonymous with \printstyle 3

\hyphenpenalty 1000

% The default LaTeX \hyphenpenalty setting is 50
% Increase the value to discourage hyphenation

\alphasections

% Normally we use \alphasections here, giving sections (a), (b), (c)
% and sub-sections (using a modified enumerate environment) (i), (ii),
% (iii).  For the reverse convention use \romansections

\papercode MA999/12        % *********EDIT FOR YOUR PAPER*********

% The above command specifies the code which will be printed in the top
% corners of pages (\printstyle 3 only)

\begin{document}

% Title page material (\printstyles 2 and 3 only).  Modify as appropriate.

\iftitle{
\thispagestyle{plain}
%\hfill{\textbf{Special Version}}\\ %Uncomment this line if a Special Version
\begin{center}
\Large
UNIVERSITY OF KENT
\\[1.8ex]
FACULTY OF SCIENCES             % NOTE IT IS PLURAL!
\\[1.8ex]
\large
LEVEL I EXAMINATION             % ****EDIT LEVEL - F/C/I/H/M **
\\[2.5ex]
DIFFERENTIAL STOCHASTIC GROUPS  % ****EDIT MODULE TITLE *********
\\[2ex]
\normalsize
XXXXday, YY May 2012: N.00 -- M.00  %**DATE LATER *** eg 9.30 -- 11.30 , 2.00 -- 4.00
\\[2ex]
\begin{minipage}[t]{4in}\parskip2ex
\textit{%
This paper is divided into \emph{TWO} sections as follows:
\\[1ex]
\emph{Section A}: Six short questions each marked out of 10.
Candidates may attempt all \emph{SIX} questions but are
advised that they cannot obtain a total of more than \emph{FORTY} marks on this
section.
\\[1ex]
\emph{Section B}: Four longer questions each marked out of 30.
Candidates may not attempt more than \emph{TWO} of the \emph{FOUR} %\emph{THREE} also possible
questions in this section.                                              % if appropriate
\\[1ex]
Candidates are advised to show their working on their scripts. Marks might then
be allocated for use of a correct method, even if the numerical or algebraic
result is incorrect.\\[1ex]
}
\end{minipage}
\\
\vspace{2cm}
\begin{minipage}[t]{4in}\parskip2ex
\textit{
\begin{tabular}{ll} %delete where inappropriate
\emph{Tables:} & Copies of New Cambridge Statistical Tables \\
               &are provided.\\
\emph{Tables:} & Copies of Tables and Formulae for Actuarial\\
               & Examinations are provided.\\
\emph{Calculators:} & Approved calculators are permitted.\\
\emph{Stationery:} & Yellow Answer Booklet.
\end{tabular}
}
\end{minipage}
\end{center}
\newpage
}\fi

% End of title page
% Now \input the questions, one by one.  "Comment out" those not wanted
% at draft stage.

\iffinal{%
\begin{center}
\textbf{SECTION A}\\[2ex]
\begin{minipage}[t]{4in}\parskip2ex
\textit{These questions will each be marked out of 10.
Candidates may attempt all \emph{SIX} questions but are advised that they
cannot obtain a total of more than \emph{FORTY MARKS} on this section.}
\end{minipage}
\end{center}
} \fi
\breakpoint\vspace{2ex}\input adsg1 % FILE NAME agrp1.tex IS QUEST 1
\breakpoint\vspace{2ex}\input adsg2 % see INSTRUCTIONS for more detail
\breakpoint\vspace{2ex}\input adsg3 % a=section A prefix: dsg=module acronym
\breakpoint\vspace{2ex}\input adsg4 % questions numbered by order not suffix
\breakpoint\vspace{2ex}\input adsg5 % Please try to keep names in lower
\breakpoint\vspace{2ex}\input adsg6 % case as this is better on a unix archive
\iffinal{ %\newpage

\vspace{.5in}
\begin{center}
\textbf{SECTION B}\\[2ex]
\begin{minipage}[t]{4in}\parskip2ex
\textit{These questions will each be marked out of 30.
Candidates may not attempt more than \emph{TWO} of the \emph{FOUR} questions.}
\end{minipage}
\end{center}
}\fi % End of \iffinal
\breakpoint\vspace{2ex}\input bdsg7 % b=section B prefix
\breakpoint\vspace{2ex}\input bdsg8
\breakpoint\vspace{2ex}\input bdsg9
\breakpoint\vspace{2ex}\input bdsg10
\end{document}
