% Sample Question document for STA256
\documentclass[12pt]{article} 
%\usepackage{amsbsy} % for \boldsymbol and \pmb 
%\usepackage{graphicx} % To include pdf files!
\usepackage{amsmath}
\usepackage{amsbsy}
\usepackage{amsfonts}
\usepackage[colorlinks=true, pdfstartview=FitV, linkcolor=blue, citecolor=blue, urlcolor=blue]{hyperref} % For links
\usepackage{fullpage}
%\pagestyle{empty} % No page numbers


\begin{document}
%\enlargethispage*{1000 pt} 

\begin{center}   
{\Large \textbf{Sample Questions: Counting Methods for Computing Probabilities}}%\footnote{}
\vspace{1 mm}

STA256 Fall 2018. Copyright information is at the end of the last page.
\end{center}

\vspace{5mm}
\begin{enumerate} 

\item Using the formula for $\binom{n}{r}$ from the formula sheet, and the Multiplication Principle, prove that the number of ways that $n$ objects can be divided into $r$ subsets with $n_i$ objects in set $i$ is $\binom{n}{n_1~\cdots~n_r}=\frac{n!}{n_1!~\cdots~n_r!}$.
\pagebreak

\item  Sample $r$ balls from a jar containing $n$ numbered balls. How many outcomes are there is the sampling is

\begin{enumerate}
     \item With replacement? \vspace{100mm}
     \item Without replacement?
\end{enumerate}
\pagebreak

\item  Using the formula for $_nP_r$ from the formula sheet, and the Multiplication Principle, prove $\binom{n}{r} = \frac{n!}{r! \, (n-r)!}$.
\pagebreak

\item  A jar contains 10 red balls and 20 blue balls. If 5 balls are randomly sampled without replacement, what is the probability of
\begin{enumerate}
     \item All blue? \vspace{50mm}
     \item Two red and three blue? \vspace{50mm}
     \item At least one red? \pagebreak
     \item A jar contains 10 red balls and 20 blue balls. If 5 balls are randomly sampled without replacement, what is the probability of obtaining $k$ red balls, $k = 0, \ldots, 5$?
\end{enumerate}
\pagebreak

\item A shipment of $n$ electronic components has $k$ defectives. If we sample $m$ components without replacement, what is the probability of observing at least one defective?
\pagebreak

\item In how many ways can 20 basketball players be divided into 4 teams of 5?  \vspace{100mm}

\item In how many ways can 6 red flags, 2 blue flags and 4 yellow flags be arranged? The flags are indistinguishable.
\pagebreak

\item A standard deck of 52 cards has four ``suits:" spades, diamonds, hearts and clubs. Within each suit, the face values of the 13 cards are 2, 3, 4, 5, 6, 7, 8, 9, 10, Jack, Queen, King, Ace. A ``hand" of poker is 5 cards, selected randomly without replacement.
\begin{enumerate}
     \item A ``flush" is a hand with 5 cards all of the same suit. What is the probability of a flush? \vspace{65mm}
     \item A ``straight" is a hand in which the 5 cards are in sequence. Suit is ignored. An Ace can be either high or low. What is the  probability of a straight?
\end{enumerate}

\end{enumerate}

\vspace{70mm}

\noindent
\begin{center}\begin{tabular}{l}
\hspace{6in} \\ \hline
\end{tabular}\end{center}
This assignment was prepared by  \href{http://www.utstat.toronto.edu/~brunner}{Jerry Brunner},
Department of Mathematical and Computational Sciences, University of Toronto. It is licensed under a 
\href{http://creativecommons.org/licenses/by-sa/3.0/deed.en_US}
     {Creative Commons Attribution - ShareAlike 3.0 Unported License}. Use any part of it as you like and share the result freely. The \LaTeX~source code is available from the course website: 
     
\begin{center}
\href{http://www.utstat.toronto.edu/~brunner/oldclass/256f18} {\small\texttt{http://www.utstat.toronto.edu/$^\sim$brunner/oldclass/256f18}}
\end{center}

\end{document}

