← All templates

Exam with versions and key (examdesign)

An exam in multiple-choice, true/false, fill-in and short-answer sections, typeset in two shuffled versions with an answer key for each.

Create an account to use this
Category
Teaching
Document class
examdesign (examdesign.cls) — ships with TeX Live
Workflow
Assignment / problem set — no revision rounds
Author
Jason Alexander
Source
CTAN
Licence
examdesign.cls: GNU General Public License. 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-examdesign

Source

main.tex — the file that is compiled · 2 KB
\documentclass[11pt]{examdesign}
\usepackage[T1]{fontenc}
\usepackage{amsmath}

\Fullpages
\ContinuousNumbering
% Each version shuffles the questions within a section; a key follows every version.
\NumberOfVersions{2}
% \NoKey   % uncomment to leave the answer keys out

\class{Your paper}
\examname{Midterm examination}

\begin{document}

\begin{multiplechoice}[title={Multiple choice (2 points each)}, resetcounter=no]
Choose the single best answer.

\begin{question}
  Which function is the derivative of $\sin x$?
  \choice{$-\sin x$}
  \choice[!]{$\cos x$}
  \choice{$-\cos x$}
  \choice{$\tan x$}
\end{question}

\begin{question}
  What is $\lim_{x \to 0} \frac{\sin x}{x}$?
  \choice{$0$}
  \choice[!]{$1$}
  \choice{$\infty$}
  \choice{The limit does not exist.}
\end{question}

\begin{question}
  Which integral gives the area under $y = x^{2}$ between $x=0$ and $x=2$?
  \choice[!]{$\int_0^2 x^{2}\,dx$}
  \choice{$\int_0^4 x\,dx$}
  \choice{$\int_0^2 2x\,dx$}
  \choice{$\int_0^2 x^{3}\,dx$}
\end{question}
\end{multiplechoice}

\begin{truefalse}[title={True or false (1 point each)}, resetcounter=no, suppressprefix]
Write T if the statement is true and F otherwise.

\begin{question}
  \answer{True} Every differentiable function is continuous.
\end{question}

\begin{question}
  \answer{False} Every continuous function is differentiable.
\end{question}

\begin{question}
  \answer{True} The derivative of a constant function is zero.
\end{question}
\end{truefalse}

\begin{fillin}[title={Fill in the blank (2 points each)}, resetcounter=no]
Complete each statement.

\begin{question}
  The calculus was developed independently by \blank{Newton} and \blank{Leibniz}.
\end{question}

\begin{question}
  A point where the second derivative changes sign is called a point of \blank{inflection}.
\end{question}
\end{fillin}

\begin{shortanswer}[title={Short answer (10 points each)}, resetcounter=no]
Show all of your work. Partial credit is given for correct reasoning.

\begin{question}
  Evaluate $\int_0^1 x\,e^{x}\,dx$.
  \examvspace*{1.5in}
  \begin{answer}
    Integrating by parts with $u = x$ and $dv = e^{x}dx$ gives
    $\int_0^1 x e^{x}\,dx = \bigl[x e^{x} - e^{x}\bigr]_0^1 = 1$.
  \end{answer}
\end{question}

\begin{question}
  Find the equation of the tangent line to $y = x^{2}$ at the point $(1,1)$.
  \examvspace*{1.5in}
  \begin{answer}
    The slope is $y'(1) = 2$, so the tangent line is $y = 2x - 1$.
  \end{answer}
\end{question}
\end{shortanswer}

\end{document}

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