\documentclass[12pt]{exam}
\noprintanswers
\noaddpoints

\usepackage{amsmath}
\usepackage{graphicx,float}
\usepackage{wrapfig}
\usepackage{enumerate}

\usepackage{tikz}
\usepackage{pgfplots}

\begin{document}

\begin{questions}

\question % workshop bank Ch. 2 -> esergel24
For each part below, give an example of a function that satisfies the stated conditions and graph it. In each case, the domain of the function should be \emph{all} real numbers. 

\begin{parts}

\part $\displaystyle \lim_{x \to 2} f(x) = 3$ and $f(2)=4$.

\part $\displaystyle \lim_{x \to 0} g(x)$ does not exist, and $|g(x)|<2$ for all $x$.

\part $\displaystyle \lim_{x \to -1} h(x)$ exists, and its value is $h(-1)+2$.

\part $\displaystyle \lim_{x \to 1^{-}} k(x) = \infty$ and $\displaystyle \lim_{x \to 1^{+}} k(x) = 0$.

\end{parts}

\end{questions}

\end{document}