06.03.2017 Views

Mathematics for Computer Science

e9ck2Ar

e9ck2Ar

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

“mcs” — 2017/3/3 — 11:21 — page 638 — #646<br />

638<br />

Chapter 15<br />

Cardinality Rules<br />

Problem 15.2.<br />

In how many different ways is it possible to answer the next chapter’s practice<br />

problems if:<br />

the first problem has four true/false questions,<br />

the second problem requires choosing one of four alternatives, and<br />

the answer to the third problem is an integer 15 and 20?<br />

Problem 15.3.<br />

How many total functions are there from set A to set B if jAj D 3 and jBj D 7?<br />

Problem 15.4.<br />

Let X be the six element set fx 1 ; x 2 ; x 3 ; x 4 ; x 5 ; x 6 g.<br />

(a) How many subsets of X contain x 1 ?<br />

(b) How many subsets of X contain x 2 and x 3 but do not contain x 6 ?<br />

Class Problems<br />

Problem 15.5.<br />

A license plate consists of either:<br />

3 letters followed by 3 digits (standard plate)<br />

5 letters (vanity plate)<br />

2 characters—letters or numbers (big shot plate)<br />

Let L be the set of all possible license plates.<br />

(a) Express L in terms of<br />

A D fA; B; C; : : : ; Zg<br />

D D f0; 1; 2; : : : ; 9g<br />

using unions ([) and set products ().<br />

(b) Compute jLj, the number of different license plates, using the sum and product<br />

rules.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!