The following template comes to you grâce à Léo, a previous SUMS VP Academic. Feel free to use it as a starting point for LaTeXing assignments and then edit it to suit your purposes.

assignment.sty
%SUMS Template for assignments.-2013
\documentclass[letterpaper, 11pt]{article}
\usepackage{amsmath, amssymb, amsfonts}%math
\usepackage{mathtools}
\usepackage[left=1.5in,right=1.5in]{geometry}%margins
\usepackage{setspace}%change space settings
\usepackage[utf8x]{inputenc}%ASCII characters
\usepackage[T1]{fontenc}
\usepackage{lmodern}%for accentuated characters and accents
\usepackage{graphicx}%inserting pdf-jpg pictures
\usepackage{enumerate}%changing enumerate
\usepackage[natural, dvipsnames, pdftex]{xcolor}
\usepackage{tikz} %Drawing pretty pictures
\usepackage{verbatim} %adding code
\setlength{\parindent}{0pt}%No spacing at beginning of paragraph
\usepackage[pdftex,  colorlinks=true]{hyperref}%Hyperlinks, with \href
\hypersetup{urlcolor=RoyalBlue,  linkcolor=RedOrange,  citecolor=black}
%Playing around with formatting- ex with section
%\titleformat{\section}[block]{\sffamily}
%{\color{Blue} \centering \Large Chapter \thesection}{0pt}{\linebreak
%\color{Blue} \Large \centering}
 
 
%\usepackage{makeidx}
\DeclareMathAlphabet{\mathpzc}{OT1}{pzc}{m}{n} %mathpzc alphabet
\usepackage[mathscr]{eucal} %mathscr alphabet
 
%-------------Additional material
%Change section headings
\usepackage[calcwidth,  sc,  medium,  center,  compact]{titlesec}
%Redefine theorem environments
\usepackage[amsmath,  thref,  thmmarks,  hyperref]{ntheorem}
 
%Redefining theorem style
 
\theoremstyle{break}
\theoremheaderfont{\bf}
\theorembodyfont{\normalfont}
 
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{cor}[theorem]{Corollary}
\newtheorem{prop}[theorem]{Proposition}
\newtheorem*{claim}{Claim}
\newtheorem*{sol}{Solution}
\newtheorem{defn}[theorem]{Definition}
\newtheorem{ex}{Example}[section]
\newtheorem*{remark}{Remark}[section]
\newtheorem*{obs}{Observation}[section]
\newtheorem*{note}{Note}[section]
\renewcommand{\Box}{\rule{1. 5ex}{1.5ex}}  % end of proof
\newenvironment*{proof}{\par\noindent{\normalfont{\bf{Proof.
}}}}{\hfill \small$\blacksquare$\\[2mm]}
 
 
 
%Counter for equations according to section: 1.2 vs
%\renewcommand{\theequation}{\thesection.\arabic{equation}}
 
%Some examples of new commands
%To define your commands, use \newcommand or \renewcommand if it already exist
\renewcommand{\emph}[1]{\textbf{#1}}
\newcommand{\R}{\mathbb{R}} 
\newcommand{\E}[1]{{\mathrm E}\left(#1\right)}
\newcommand{\bs}[1]{\boldsymbol {#1}}
\newcommand{\Ra}{\Rightarrow}
\newcommand{\limni}{\lim_{n \ra \infty}}
\renewcommand{\iff}{\Leftrightarrow}
\newcommand{\all}{ \; \forall \;}
\newcommand{\eps}{\varepsilon}
\newcommand{\I}[1]{{\mathbf 1}_{(#1)}}
\newcommand{\Perp}{\perp \! \! \! \perp}
 
 
\relpenalty=9999 %Penalty for widow and orphan
\binoppenalty=9999
\usepackage{verbments}%fancy verbatim
\usepackage{enumerate}%allow to change the spacing of enumerate
\usepackage[shortlabels]{enumitem}
\setlist{nolistsep,leftmargin=0.1cm,itemindent=0.4cm}
 
 \allowdisplaybreaks
\newcommand{\createHeader}[4]{
  \framebox{
\begin{minipage}{0.5\textwidth}
\begin{flushleft}
Pr. #1 \\ \textsf{#2} - MATH #3
\end{flushleft}
\end{minipage}
\begin{minipage}{0.49\textwidth}
\begin{flushright} 
Name, Student ID\\
Assignment #4
\end{flushright}
\end{minipage}
}\linebreak
}
 
\begin{document}
 
 
\createHeader{PROF NAME}{COURSE NAME}{COURSE CODE}{AS NUM - due
DUE DATE}\vspace{5pt}
 
\begin{enumerate}%[(a)]
 \item text here
\end{enumerate}
\end{document}

The slides for the Advanced $\LaTeX$ tutorial can be found here