Home
Evaluations
Tags
Lectures
Sandbox
About
Contribute
Evaluations
Tags
Lectures
About
Back
Solution:
2015 Winter Midterm - 2
Author: Michiel Smid
Question
Let $A$ be a set of 7 elements and let $B$ be a set of 15 elements. How many functions $f : A \rightarrow B$ are there?
(a)
${15 \choose 7}$
(b)
$7^{15}$
(c)
$15^7$
(d)
$15!/7!$
COMP 2804: Discrete Structures II
COMP 2804 Midterm
The Product Rule (3.1)
Counting Functions (3.1.2)
Solution
For each element in A, there are output 15 choices in B.
Thus, there are $15^7$ functions.
Contribute