%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%% %%%%%%%%%%%%%%
%%%%%%%%%%%%%% This is a template for Exams %%%%%%%%%%%%%%
%%%%%%%%%%%%%% %%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}
\usepackage{amssymb,amsmath,amsfonts,amsthm,graphicx}
\DeclareGraphicsExtensions{.pdf}
%\centerline {\includegraphics[width=3in]{PICTURE}}
\newtheoremstyle{problem}{\topsep}{\topsep}%%% space between body and thm
{} %%% Thm body font
{} %%% Indent amount (empty = no indent)
{\bfseries} %%% Thm head font
{} %%% Punctuation after thm head
{ } %%% Space after thm head
{\thmnumber{#2}\thmnote{ \bfseries (#3)}}%%% Thm head
spec
\theoremstyle{problem}
\newtheorem{p}{}
\newcommand{\V}[1]{\mathbf{#1}}
\renewcommand{\d}{\,{\mathrm d}}
\renewcommand{\le}{\leqslant}
\renewcommand{\ge}{\geqslant}
\renewcommand{\labelenumi}{$(\mathrm{\alph{enumi}})$}
\begin{document}
\pagenumbering{gobble}
\begin{center}
\Huge
Exam 1
\\[24pt]
\begin{tabular}{|l|}\hline
Name:\hspace{4in}\\ \hline
Problem 1:\hspace*{3in}/30\\ \hline
Problem 2:\hfill /10\\ \hline
Problem 3:\hfill /20\\ \hline
Problem 4:\hfill /10\\ \hline
Problem 5:\hfill /10\\ \hline
Total:\hfill /80\\ \hline
\end{tabular}
\normalsize
\\[24pt]
No calculators are to be used during the test.
\end{center}
\newpage
\begin{p} Here is a question
\hfill [2 pts]
\end{p}
\vfill
\begin{p}Here is a question
\end{p}
\vfill
\newpage
\begin{p} Here is a question
\end{p}
\end{document}