← All templates

University exam paper (exam-n)

A degree examination paper with the class's required metadata, marks per part, a multiple-choice question and solutions for the draft version.

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

What you get

  • main.tex — the file that is compiled · 3 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-n

Source

main.tex — the file that is compiled · 3 KB
% Class options: final (the paper as printed), draft (shows solutions and comments),
% compose (for question authors). Add showsolutions to print the solutions in final mode.
% stix2 sets the paper in STIX Two; without a font option the class falls back to Computer
% Modern and says so on every compile.
\documentclass[final,stix2]{exam-n}
\usepackage{booktabs}
\usepackage{tikz}

% All of the following fields are required by the class (see the exam-n manual).
\examdate{Monday, 12 January 2026}
\examtime{9.30am -- 11.30am}
\exambanner{Examination for the Degree of \BSc\ (Honours)}
\universitycoursecode{COURSE1001}
\schoolcoursecode{C1001}
\coursetitle{Your paper}
\degreedescriptions{Physics 2\\Mathematics and Physics 2}
\rubric{Candidates should answer \emph{all} questions. The marks for each part are shown
in brackets.}
\numquestions{3}
\multiplechoiceanswers{4}

\begin{document}
\maketitle

\begin{question}{10}
\part State Newton's second law for a particle of constant mass $m$.\partmarks{2}

\part A block of mass $m$ slides down the frictionless incline shown below, which makes an
angle $\theta$ with the horizontal.
\begin{center}
\begin{tikzpicture}[scale=0.9]
  \draw[thick] (0,0) -- (4,0) -- (0,2.3) -- cycle;
  \draw (3.3,0) arc (180:150:0.7);
  \node at (2.95,0.22) {$\theta$};
  \draw[fill=gray!30, rotate around={-29.9:(1.2,1.6)}] (1.2,1.6) rectangle (1.8,2.0);
\end{tikzpicture}
\end{center}
Show that the acceleration of the block along the incline is
\begin{equation}
  a = g \sin\theta ,
\end{equation}
stating any assumptions you make.\partmarks{8}

\begin{solution}
Newton's second law: $\vec F = m\vec a$. Resolving the weight along the incline, the only
force component parallel to the surface is $mg\sin\theta$, so $mg\sin\theta = ma$ and
$a = g\sin\theta$. The normal reaction is perpendicular to the motion and does no work.
\end{solution}
\end{question}

\begin{question}{10}
The table gives the measured period $T$ of a simple pendulum for three lengths $L$.
\begin{center}
\begin{tabular}{@{}cc@{}}
\toprule
$L$ (m) & $T$ (s) \\
\midrule
0.25 & 1.00 \\
0.50 & 1.42 \\
1.00 & 2.01 \\
\bottomrule
\end{tabular}
\end{center}

\part Show that the data are consistent with $T \propto \sqrt{L}$.\partmarks{4}

\part Using $T = 2\pi\sqrt{L/g}$, estimate the gravitational acceleration $g$.\partmarks{6}

\begin{solution}
The ratio $T/\sqrt{L}$ is $2.00$, $2.01$ and $2.01$\,s\,m$^{-1/2}$, constant within the
precision of the data. Then $g = 4\pi^{2}L/T^{2} \approx 9.8$\,m\,s$^{-2}$.
\end{solution}
\end{question}

\begin{mcq}
Which quantity is conserved in a perfectly elastic collision but not in an inelastic one?
\answer Total kinetic energy
\item Total linear momentum
\item Total mass
\item Total electric charge
\end{mcq}

\end{document}

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