Probability appears everywhere in computer science. Randomized algorithms use random choices to solve problems faster. Hash tables analyze collision probability. Machine learning models estimate probabilities.
Expected value helps you predict average-case running time. If a quicksort pivot is random, you can calculate the expected number of comparisons.
Next few units show specific applications.