![Quiz Template](https://writelatex.s3.amazonaws.com/published_ver/11238.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250207T085723Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250207/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5099ed55f364039a39aaa4e74be89fa757d23d555a13cd0860e1f5c228ea9eb5)
Quiz Template
Author:
Caleb McWhorter
Last Updated:
5 years ago
License:
Creative Commons CC BY 4.0
Abstract:
A template for creating course quizzes.
![Quiz Template](https://writelatex.s3.amazonaws.com/published_ver/11238.jpeg?X-Amz-Expires=14400&X-Amz-Date=20250207T085723Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAWJBOALPNFPV7PVH5/20250207/us-east-1/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=5099ed55f364039a39aaa4e74be89fa757d23d555a13cd0860e1f5c228ea9eb5)
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.
\documentclass[11pt,letterpaper]{article}
\usepackage[lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in]{geometry}
% -------------------
% Packages
% -------------------
\usepackage{
amsmath, % Math Environments
amssymb, % Extended Symbols
enumerate, % Enumerate Environments
graphicx, % Include Images
lastpage, % Reference Lastpage
multicol, % Use Multi-columns
multirow % Use Multi-rows
}
% -------------------
% Font
% -------------------
\usepackage[T1]{fontenc}
\usepackage{charter}
% -------------------
% Commands
% -------------------
\newcommand{\quiz}[2]{\noindent\begin{minipage}{0.75\textwidth} \textbf{\large MAT 999 \\ Semester Year \\ Quiz #1} \end{minipage} \hfill\begin{minipage}{0.2\textwidth} \textbf{\large Score } \\[0.1cm] \framebox(30,30){} \end{minipage} \\[0.5cm] \textbf{\large Name: \rule{8cm}{0.8pt} \\[0.1cm] Date: #2}\vspace{1cm}}
\newcommand{\prob}{\noindent\textbf{Problem. }}
\newcounter{problem}
\newcommand{\problem}{
\stepcounter{problem}%
\noindent \textbf{Problem \theproblem. }%
}
\newcommand{\pspace}{\par\vspace{\baselineskip}}
\newcommand{\ds}{\displaystyle}
% -------------------
% Header & Footer
% -------------------
\usepackage{fancyhdr}
\fancypagestyle{pages}{
%Headers
\fancyhead[L]{}
\fancyhead[C]{}
\fancyhead[R]{}
\renewcommand{\headrulewidth}{0pt}
%Footers
\fancyfoot[L]{}
\fancyfoot[C]{}
\fancyfoot[R]{}
\renewcommand{\footrulewidth}{0.0pt}
}
\headheight=0pt
\footskip=14pt
\pagestyle{pages}
% -------------------
% Content
% -------------------
\begin{document}
\quiz{\#}{DD/MM}
% Question
\prob This is an unnumbered problem. \pspace
% Question 1
\problem This is a numbered problem. \vspace{1.5cm}
% Question 2
\problem This is the second numbered problem. \vfill
% Question 3
\problem This problem has several parts:
\begin{enumerate}[(a)]
\item The first part.
\item The second part.
\item The third part.
\end{enumerate} \vspace{6cm}
\newpage
% Question 4
\problem Compute the following integral
\[
\int e^{-x^2} \;dx
\] \vspace{3cm}
% Question 5
\problem Explain why everyone loves Mathematics. \pspace
% Question 6
\problem Compute the integral $\ds \int \sin x^2 \;dx$. \vspace{2cm}
% Question 7
\problem In the space provided, prove the Riemann Hypothesis.
\end{document}