\documentclass[11pt]{article}
\usepackage{amsmath, amsfonts, amsthm, amssymb}  % Some math symbols
\usepackage{lmodern}
\usepackage{microtype}
\usepackage{fullpage}
\usepackage[x11names, rgb]{xcolor}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{decorations,arrows,shapes}
\usepackage{etoolbox}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{amsmath}
\usepackage{framed}
\setlength{\parindent}{0pt}
\setlength{\parskip}{5pt plus 1pt}

\newcommand{\nopagenumbers}{
    \pagestyle{empty}
}

\def\indented#1{\list{}{}\item[]}
\let\indented=\endlist

\providetoggle{questionnumbers}
\settoggle{questionnumbers}{true}
\newcommand{\noquestionnumbers}{
    \settoggle{questionnumbers}{false}
}

\newcounter{questionCounter}
\newenvironment{question}[2][\arabic{questionCounter}]{%
    \addtocounter{questionCounter}{1}%
    \setcounter{partCounter}{0}%
    \vspace{.25in} \hrule \vspace{0.4em}%
        \noindent{\bf \iftoggle{questionnumbers}{#1: }{}#2}%
    \vspace{0.8em} \hrule \vspace{.10in}%
}{$ $\newpage}

\newcounter{partCounter}[questionCounter]
\renewenvironment{part}[1][\alph{partCounter}]{%
    \addtocounter{partCounter}{1}%
    \vspace{.10in}%
    \begin{indented}%
       {\bf (#1)} %
}{\end{indented}}

\def\show#1{\ifdefempty{#1}{}{#1\\}}

\newcommand{\header}{%
\begin{center}
    {\Large \show\myhwname}
    \show\mysection
\end{center}}

% delete/add questions and parts as needed. very general latex template 

\newcommand{\plusplus}{\mathbin{+\mkern-10mu+}} % use \plusplus to represent concat!
\newcommand{\myhwname}{CSE 331 Homework num }
\newcommand{\mysection}{Your Name}

\noquestionnumbers
\nopagenumbers

\begin{document}
\header

\begin{question}{Task 1 – }
\begin{framed}
\begin{enumerate}[label=(\alph*)]
    \item 
    \item 
\end{enumerate}
\end{framed}
\end{question}


\begin{question}{Task 2 – }
\begin{framed}
\begin{enumerate}[label=(\alph*)]
    \item 
    \item 
\end{enumerate}
\end{framed}
\end{question}


\begin{question}{Task 3 – }
\begin{framed}
\begin{enumerate}[label=(\alph*)]
    \item \begin{align*}
    % use this if you want to align your proofs. below is an example:
    a &= b + c \\
      &= 2 + 8
\end{align*}
    \item 
    \item 
    \item 
    \item
\end{enumerate}
\end{framed}
\end{question}


\begin{question}{Task 4 – }
\begin{framed}
\end{framed}
\end{question}


\begin{question}{Task 5 – EC: }
\begin{framed}
\begin{enumerate}[label=(\alph*)]
    \item 
    \item 
    \item
\end{enumerate}
\end{framed}
\end{question}


\begin{question}{Task 6 – Optional: }
\begin{framed}
\begin{enumerate}[label=(\alph*)]
    \item 
    \item 
\end{enumerate}
\end{framed}
\end{question}


\end{document}