Try It Now
Site: | Saylor Academy |
Course: | CS202: Discrete Structures |
Book: | Try It Now |
Printed by: | Guest user |
Date: | Friday, February 4, 2022, 5:32 PM |
Description
Work these exercises to see how well you understand this material.
Exercises
- If a raffle has three different prizes and there are 1,000 raffle tickets sold, how many different ways can the prizes be distributed?
- How many eight-letter words can be formed from the 26 letters in the alphabet? Even without concerning ourselves about whether the words make sense, there are two interpretations of this problem. Answer both.
- The state finals of a high school track meet involves fifteen schools. How many ways can these schools be listed in the program?
- All 15 players on the Tall U. basketball team are capable of playing any position.
- How many ways can the coach at Tall U. fill the five starting posi- tions in a game?
- What is the answer if the center must be one of two players?
- The president of the Math and Computer Club would like to arrange a meeting with six attendees, the president included. There will be three computer science majors and three math majors at the meeting. How many ways can the six people be seated at a circular table if the president does not want people with the same majors to sit next to one other?
- Let A = {1, 2, 3, 4}. Determine the cardinality of
- {(a1, a2) | a1 ≠ a2}
- What is the answer to the previous part if |A| = n
- If |A| = n, determine the number of m-tuples in A, m ≤ n, where each coordinate is different from the other coordinates.
Source: Al Doerr and Ken Levasseur, http://faculty.uml.edu/klevasseur/ads-latex/ads.pdf This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License.
Solutions
- Answer: P (1000, 3)
- Answer: With repetition: 268 ≈ 2.0883 × 1011. Without repetition: P (26, 8) ≈ 6.2991 × 1010
- Answer: 15!
- Answer:
- P (15, 5) = 360360
- 2 · 14 · 13 · 12 · 11 = 48048
- Answer: 2 · P (3, 3) = 12
- Answer:
- P (4, 2) = 12
- P (n; 2) = n · (n − 1)
- Case 1: m > n. Since the coordinates must be different, this case is impossible.
Case 2: m ⩽ n.P (n ; m).