← All templates

Midterm exam (exam)

A midterm paper on the exam class with points per part, a point table on the first page and a grading table at the end.

Create an account to use this
Category
Teaching
Document class
exam (exam.cls) — ships with TeX Live
Workflow
Assignment / problem set — no revision rounds
Author
Philip S. Hirschhorn
Source
CTAN
Licence
exam.cls: The LaTeX Project Public License 1.3. Sample text: Manulyx, CC0 1.0 (free to use, no conditions).

What you get

  • main.tex — the file that is compiled · 2 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Link to this template. Send it to a student or co-author: it starts a new paper in this template, through sign-up if they need an account.

https://manulyx.com/start/ctan-teaching-exam

Source

main.tex — the file that is compiled · 2 KB
\documentclass[11pt,addpoints]{exam}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb}
\usepackage{booktabs}
\usepackage{tikz}

\pagestyle{headandfoot}
\firstpageheader{Department of Mathematics}{}{Course Code -- Term 2026}
\runningheader{Course Code}{Midterm examination}{Term 2026}
\runningheadrule
\footer{}{Page \thepage\ of \numpages}{}

\begin{document}

\begin{center}
  {\Large\bfseries Your paper}\\[4pt]
  Course Code -- Course Name\\[2pt]
  Time allowed: 90 minutes
\end{center}

\vspace{8pt}
\noindent\makebox[0.58\textwidth]{Name:\enspace\hrulefill}\hfill
\makebox[0.38\textwidth]{Student ID:\enspace\hrulefill}

\vspace{10pt}
\noindent This examination has \numquestions\ questions, worth a total of \numpoints\ points,
on \numpages\ pages. Show all your work: answers without justification receive no credit.

\begin{center}
\pointtable[h][questions]
\end{center}

\begin{questions}

\question Let $f(x) = x^{3} - 3x + 1$.
\begin{parts}
\part[4] Find $f'(x)$ and the critical points of $f$.
\vspace{3cm}
\part[6] Classify each critical point as a local maximum or a local minimum.
\vspace{3cm}
\end{parts}

\question[8] The table lists measured positions $y$ of a falling object at four times $t$.
\begin{center}
\begin{tabular}{@{}lcccc@{}}
\toprule
$t$ (s) & 0 & 1 & 2 & 3 \\
\midrule
$y$ (m) & 0.0 & 4.9 & 19.6 & 44.1 \\
\bottomrule
\end{tabular}
\end{center}
Assume the data follow
\begin{equation}
  y(t) = a\,t^{2}
\end{equation}
for some constant $a$. Estimate $a$ and the average velocity between $t=1$ and $t=3$.
\vspace{3cm}

\question[8] The figure shows the graph of a function $g$ on $[0,4]$.
\begin{center}
\begin{tikzpicture}[scale=0.9]
  \draw[->] (-0.2,0) -- (4.5,0) node[right] {$x$};
  \draw[->] (0,-0.2) -- (0,3.2) node[above] {$y$};
  \draw[thick] (0,0.5) -- (1,2.5) -- (3,2.5) -- (4,0.5);
  \foreach \x in {1,2,3,4} \draw (\x,0.08) -- (\x,-0.08) node[below] {\x};
  \draw (0.08,2.5) -- (-0.08,2.5) node[left] {2.5};
  \draw (0.08,0.5) -- (-0.08,0.5) node[left] {0.5};
\end{tikzpicture}
\end{center}
Use the areas under the graph to compute $\displaystyle\int_{0}^{4} g(x)\,dx$.
\vspace{3cm}

\question[4] If $f$ is differentiable at $a$, then $f$ is continuous at $a$.
\begin{oneparchoices}
\CorrectChoice True
\choice False
\end{oneparchoices}

\end{questions}

\vfill
\begin{center}
  \textbf{For the grader}\par\medskip
  \gradetable[v][questions]
\end{center}

\end{document}

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗