← All templates

Multiple-choice quiz (exam)

A short quiz on the exam class using its choices, one-paragraph choices and checkbox environments.

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-quiz

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{head}
\header{Course Code}{Quiz 3}{Term 2026}
\headrule
\CorrectChoiceEmphasis{\bfseries}
% Uncomment to print the quiz with the correct choices marked:
% \printanswers

\begin{document}

\begin{center}
  {\large\bfseries Your paper}\\[4pt]
  10 minutes \quad \numquestions\ questions \quad \numpoints\ points
\end{center}

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

\vspace{8pt}
\noindent Circle the letter of the single best answer unless the question says otherwise.

\begin{questions}

\question[2] Which value of $x$ solves
\begin{equation}
  x^{2} - 5x + 6 = 0
\end{equation}
and is greater than $2$?
\begin{choices}
  \choice $x = 1$
  \choice $x = 2$
  \CorrectChoice $x = 3$
  \choice $x = 6$
\end{choices}

\question[2] What is $\dfrac{d}{dx}\,e^{2x}$?
\begin{oneparchoices}
  \choice $e^{2x}$
  \CorrectChoice $2e^{2x}$
  \choice $2x\,e^{2x-1}$
  \choice $e^{x}$
\end{oneparchoices}

\question[2] The right triangle below has legs of length 3 and 4. How long is the hypotenuse $c$?
\begin{center}
\begin{tikzpicture}[scale=0.6]
  \draw[thick] (0,0) -- (4,0) node[midway,below] {4} -- (4,3) node[midway,right] {3} -- cycle;
  \node at (1.8,1.9) {$c$};
  \draw (3.6,0) -- (3.6,0.4) -- (4,0.4);
\end{tikzpicture}
\end{center}
\begin{oneparchoices}
  \choice 4
  \CorrectChoice 5
  \choice 6
  \choice 7
\end{oneparchoices}

\question[2] Tick every function that is continuous on all of $\mathbb{R}$.
\begin{checkboxes}
  \CorrectChoice $\sin x$
  \choice $1/x$
  \CorrectChoice $x^{2} + 1$
  \choice $\tan x$
\end{checkboxes}

\question[2] The table gives the scores of five students. What is the median score?
\begin{center}
\begin{tabular}{@{}lccccc@{}}
\toprule
Student & A & B & C & D & E \\
\midrule
Score & 12 & 18 & 15 & 9 & 20 \\
\bottomrule
\end{tabular}
\end{center}
\begin{oneparchoices}
  \choice 12
  \CorrectChoice 15
  \choice 14.8
  \choice 18
\end{oneparchoices}

\end{questions}

\end{document}

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