Discrete Structures Anna Karlin
CSE 321, Spring 2000

Practice Questions
from previous exams

1.
Define a set S of character strings over the alphabet {a,b} by the following rules: Prove by induction that every string in S has at least as many a's as b's.
2.
True or false:

3.
On the next set of questions, fill in the blanks.

4.
Define a function g on the non-negative integers by g(0)=2, g(1)=3 and g(n+1)=3g(n)-2g(n-1) for all $n\ge 1$. Use strong induction to prove that for all $n\ge 0$, g(n)= 2n + 1.

5.
6.

7.
Suppose a biased coin with probability 3/4 of coming up heads is tossed independently 100 times.

8.
A lake contains n trout. 100 of them are caught, tagged and returned to the lake. Later another set of 100 trout are caught, selected independently from the first 100.

9.
At a casino, a two-ball version of roulette is played. Players place their bets as in the regular roulette, and collect winnings for each of the balls, e.g., if a player bets on red, and only one ball lands on red, he breaks even; if both balls land on red he wins his bet, and if none of the balls lands on red, he loses his bet.

There are 18 red, 18 black and two green numbers in roulette. We assume that in the two-ball roulette the two balls cannot land on the same number, but they are equally likely to land on any pair of distinct numbers. For simplicity, assume that players only bet on red or black.

10.
A 3-person jury has two rational members, each of whom independently has a probability p of making the correct decision, and a third member who just flips a coin for each decision. The majority decision rules. A one-person jury has probability p of making the correct decision. Which jury has a better probability of making the correct decision? Justify your answer.

11.
Consider the 5 letter words over an alphabet of 26 letters.
12.
A pitcher's record is 21 wins and 4 losses. Prove that he must have enjoyed a winning streak of 5 games.
13.
A standard deck of 52 cards is shuffled completely (i.e., any of the permutations is equally likely.) What is the probability that no two spades are adjacent in the shuffled deck?

14.
Consider an undirected graph on n vertices generated as follows. For each pair of vertices, an edge between those vertices is included in the graph with probability p, and not included with probability 1-p. What is the expected number of edges in the graph?