TO DOs

  1. Birthday Probability What is the probability that 2 or more people have the same birthday from a group of people

  2. calculate n! using integer and floating point formats. What is the limit of each format type?

  3. generate pascals triangle

  4. Calculate C(n,k)

  5. Find and test the provided method of implementing n choose k from an array

  6. implement our own algorithm for

    1. creating all the options for n choose k
    2. creating a random example

Projects

Jelly Bean Problem

Choose 3 from 12 (6 red, 4 green, 2 yellow)

Calculate some probabilities: P(all red) P(all red if all same oclor)

Bingo (US / 75 ball version)

  1. How many different bingo cards are possible?
  2. Create a random bingo card
  3. Play the game with N bingo cards
  4. Print out a bingo card in text (eventually graphics)

Histograms

Generate a histogram from a dataset.

  1. text based
  2. text based (vertical bars)
  3. 2D image

Where will the dataset come from? - terminal - a file