<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{cs4215midterm}
              [2001/07/28 v1.0; slides for CS4215]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}

\ProcessOptions

\LoadClass{article}
\usepackage{fancybox}

\usepackage{amstext}
\usepackage{amsmath}
\usepackage{amssymb}

\usepackage{inductive}
\usepackage{lambda}
\usepackage{simpl}
\usepackage{url}
\usepackage{amsmath}
\usepackage{denotational}
\usepackage{processors}
\usepackage{repl}
\usepackage{impl}
\usepackage{epsfig}

\newenvironment{proof}{%
\noindent
\textbf{Proof:}
}%
{
\hfill \qed\\
\medskip
}

\newcommand{\qed}{$\Box$}

\newcommand{\Rulee}[3]{\genfrac{}{}{0.7pt}{}{{\setlength{\fboxrule}{0pt}\setlength{\fboxsep}{3mm}\fbox{$#1$}}}{{\setlength{\fboxrule}{0pt}\setlength{\fboxsep}{3mm}\fbox{$#2$}}}[#3]}

\newcommand{\transition}{\rightrightarrows_s}
\newcommand{\translate}{\twoheadrightarrow}
\newcommand{\translateaux}{\hookrightarrow}


\newcounter{questioncounter}
\setcounter{questioncounter}{0}
\newcounter{altcounter}

\newenvironment{question}{%
\addtocounter{questioncounter}{1}
\vspace{10mm}
\begin{minipage}{\textwidth}
\textbf{Question \thequestioncounter}:
}% 
{
\end{minipage}
}

\newenvironment{answer}{%
\vspace{10mm}
\textbf{Answer \thequestioncounter}:
}%
{}

\newcommand{\Answerbox}[1]{%
\vspace{3mm}
{\bf Answer:} \Ovalbox{#1}
}

\newenvironment{alternatives}{%
\setcounter{altcounter}{1}
\begin{itemize}}%
{
\end{itemize}}

\newcommand{\Item}{\item[\thequestioncounter\ \Ovalbox{\Alph{altcounter}}]
\addtocounter{altcounter}{1}
}

\newenvironment{answeralternatives}{%
\setcounter{altcounter}{1}
\begin{itemize}
}%
{%
\end{itemize}
}

\ProcessOptions

\parindent 0pt

\newcommand{\header}[1]{\newcommand{\hdr}{#1}}

\AtBeginDocument{%
{\Large CS4215 Programming Language Implementation}\newline
\vspace{10mm}

{\large 28/2/2011}
\vspace{10mm}

{\LARGE}
\vspace{10mm}

You have 45 minutes to complete the exam.
Use a B2 pencil to fill up the provided MCQ form.
Leave Section A blank. Fill up Sections B and C.\\[4mm]

After finishing, place the MCQ sheet on top of the 
question sheet and leave both on the table, when you 
exit the room.

\vspace{10mm}

\newpage

}
</pre></body></html>