\documentclass[12pt]{exam}
\usepackage{amsmath}
\usepackage{graphicx}

%
%NOTE NOTE NOTE
%Typeset this test and view it BEFORE making any change
%so as to see how the formatting works.
%
%Steps:
%To edit the file, use 'vi' or 'kate'
%save it
%This typesets: latex file.tex
%This views the results: kdvi file.dvi &
%This produces a pdf: dvipdfm file.dvi &
%This print it: lpr -Plp4a file.dvi (or use the print icon while viewing)
%If the kdvi window is kept open, saved changes in the TeX file will show.
%

\title{
\large\bf Math 86 --- Fall 2003 --- Final Exam\\ 
Department of Mathematics \\ Temple University}
\date{\today}

\begin{document}     
\maketitle

\begin{center} {\large\bf Name: }\makebox[3.5in]{\hrulefill} \end{center}
\begin{center} {\large\bf Instructor/Section: }\makebox[3.5in]{\hrulefill} \end{center}
\vspace*{1in}

%%Fix Number of questions
This exam consists of 9 questions. Show all your work. 
{\bf No work, no credit.} Good Luck!

\vspace*{1in}

%%Add a line for each question in the grading table
%%with number of points for that question

\begin{center}
\begin{tabular}{|c|c|c|} \hline
{\bf Question} & {\bf Points} & {\bf Out of} \\ \hline
1       &                       & 35 \\ \hline
2       &                       & 6 \\ \hline
3       &                       & 8\\ \hline
4       &                       & 10 \\ \hline
5       &                       & 16\\ \hline
6       &                       & 5 \\ \hline
7       &                       & 8 \\ \hline
8       &                       & 10 \\ \hline
9       &                       & 8 \\ \hline\hline
Total   &                       & 106\\ \hline
\end{tabular}
\end{center}

\begin{questions}

%If you don't want boxed points, comment out
\boxedpoints
%If you don't wnt points in margin, comment out
\pointsinmargin
\marginpointname{ points}

\newpage

\question[35] %35 is the value in points of this question
Enter the question here.

\question[6]
Enter the question here.
If you want space after a question, use the following
\vspace*{\fill}

\question[8]
Enter the question here.
\vspace*{\fill}

If you want a newpage, use the following
\newpage

\question[10]
Enter the question here.
\vspace*{\fill}
\newpage

\question[45]
Enter the question here.
\vspace*{\fill}
\newpage
If the question has several parts, use
\begin{parts}

\part
Insert first part here.

\part
Insert second parts here.

\end{parts}


\question[8]
Insert question here.
if you want to include an eps or pdf figure, use
%\includegraphics{graph}
where graph.eps or graph.pdf is the name of the file containing the
figure.

\end{questions}

\end{document}                
