Exercises for the courses Basic Probability: Theory and Basic Probability: Programming, taught at the University of Amsterdam.