\documentclass[12pt,reqno,usenames,dvipsnames]{amsart}

\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{hyperref}
\usepackage{verbatim}
\hypersetup{breaklinks=true,
pagecolor=white,
colorlinks=true,
linkcolor= blue,
hyperfootnotes= true,
urlcolor=blue
}
\urlstyle{rm}

 

\newcommand{\margincomment}[1]
  {\mbox{}\marginpar{\tiny\hspace{0pt}#1}}

\newcommand{\comments}[1]{}
\renewcommand{\baselinestretch}{1.2}
 \parindent 24pt
 \parskip 10pt
\reversemarginpar
\topmargin -1in \oddsidemargin -.5in \evensidemargin -.5in
\textheight 10in \textwidth 7in


\begin{document}

\noindent
 Your name
 

\vspace*{12pt}

\begin{center}

{\large {\bf   Test 2, October 22, 2021
}}
\end{center}
 

\noindent
     This test lasts half an hour. Show your work. 
     

 
 
 

  
\noindent
1.  What is  a prime number? \vspace*{1.5in}

\noindent
2. Who was Ramanujan?   \vspace*{120pt}

\noindent 
3. What output would the computer show on the screen if you pressed the button to run the following code? 
\vspace{-12pt}
\begin{verbatim}
potato = (3/4)*(24/2)
print("Potato plus two is ", potato +2,".")  
\end{verbatim}
\vspace*{42pt}




\noindent 
4.  In Chicago, a room at the Viceroy hotel, with its 180 rooms in an 18-story building,  \href{https://reservations.viceroyhotelsandresorts.com/?adult=1&arrive=2021-10-21&chain=1003&child=0&currency=USD&depart=2021-10-22&hotel=77578&level=hotel&locale=en-US&rooms=1}{ costs \$293/night}. A room at the Drake Hotel, built in 1920,  \href{https://www.thedrakehotel.com/reservations}{costs \$210/night.} The Drake is sold out for October 31-November 3.  How much would you save by staying at the Drake instead of the Viceroy if your honeymoon lasted 6 nights? 
\vspace*{42pt}

\newpage

\noindent 
5.   What is $2^{12}$?
%\hspace*{1in}
\hfill
6. What is $\sqrt{49}$?
  \vspace*{120pt}

\noindent 
7.  A supermarket has 215 shopping carts. If 76 are in the parking lot, what fraction are in the store? 
\vspace*{42pt}

\noindent 
8. What whole number is closest to 65/9?
\vspace*{42pt}


\noindent 
9.  What is $\frac{2}{3}$ of  half of a $1  \frac{1}{2}$-gallon jug of ammonia? 
\vspace*{42pt}

\noindent 
10.  Type what you'd put in an email to Mr. Chasteen telling him you are sick with the flu and will be missing class tomorrow. 
\vspace*{2in}

 

\noindent 
11.   What is 100 times $10^{12}$?  You may write your answer using  exponents. 
\vspace*{72pt}



\noindent 
12. What is $10^0$? 
 \vspace*{72pt}
 
 \newpage

\noindent 
13. On August 31, corn cost  \$533 per hundred bushels and soybeans cost \$1,360 per hundred bushels. If Farmer Smith needs to buy 1,900 bushels of corn and 300 bushels of soybeans to feed his pigs, how much will it cost him? 
\vspace*{120pt}

\noindent 
14.  What is $\frac{4}{7} \times \frac{3}{5}$?
\vspace*{72pt}
  


\noindent 
15.  What is the prime factorization of 12? 
 \hfill
\noindent 
16. What are all the factors of 12?
  \vspace*{72pt}
  
 
\noindent 
17. Which of the following numbers is prime: 1, 4, 27, 31, 52?
 
  
   
 
\noindent 
18. What is $\frac{1}{4} \div \frac{1}{3}$?
  \vspace*{72pt}
  
  
\noindent 
19. What is $3 \frac{1}{4} \times  2 \frac{1}{3}$?
  \vspace*{72pt}
  
  
  
\noindent 
20. What is $3 \frac{1}{2} \times  5 \frac{2}{5}$?
  \vspace*{72pt}

\newpage
\noindent 
Bonus question (only if you have plenty of time at the end after doing all the other questions and checking your answers):  
 
 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}$? 
 \vspace{.5in}
 
 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}$?
  \vspace{.5in}
  
 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6} $?
  \vspace{1in}
  
 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6}  
\cdot \frac{6}{7}$?
 \vspace{1in}

 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6}  
\cdot \frac{6}{7} \cdot \frac{7}{8}$?
 \vspace{1in}
 
 What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6}  
\cdot \frac{6}{7} \cdot \frac{7}{8} \cdot \frac{8}{9}$?
 \vspace{1in}
 
What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6}  
\cdot \frac{6}{7} \cdot \frac{7}{8} \cdot \frac{8}{9} \cdot \frac{9}{10}$?
 \vspace{1in}

What is $\frac{1}{2} \cdot \frac{2}{3} \cdot  \frac{3}{4}  \cdot \frac{4}{5}  \cdot \frac{5}{6}  
\cdot \frac{6}{7} \cdot \frac{7}{8} \cdot \frac{8}{9} \cdot \frac{9}{10}\cdot \ldots \cdot \frac{98}{99} \cdot \frac{99}{100}$?


 


 \end{document}
