Card, xi | 2 to 10 | Jack, Queen, King | Ace |
X(xi) | Lose $3 | Win $5 | Win $10 |
P(xi) |   |   |   |
2) For the sequential search algorithm, if the probability of a successful search is 0.8, then what is the expected number of comparisons for a search?
xi | L1 | L2 | L3 | . . . | Ln-1 | Ln | Unsuccessful search |
X(xi) number of comparisons |
  |   |   |   |   |   |   |
P(xi) |   |   |   |   |   |   |   |
3) For the following relations on the set of integers, determine which properties hold for each relation:
Relation | Properties on Relations | ||||
reflexive | symmetric | transitive | antisymmetric | ||
R1: |   |   |   |   |   |
R2: |   |   |   |   |   |
R3: |   |   |   |   |   |
R4: |   |   |   |   |   |
R5: |   |   |   |   |   |