Preliminaries -- Random number, Random variable, and stochastic process generation -- Simulation of discrete-event systems -- Statistical analysis of discrete-event systems -- Controlling the variance -- Markov chain Monte Carlo -- Sensitivity analysis and Monte Carlo optimization -- The cross-entropy method -- Counting via Monte Carlo