There is only 20 different ways you can do for 1 topping and 1 cheese for this question. Because every topping(10) on every cheese(2) gives you 20 different choices you can have a pizza.
In the given scenario, The appropriate test for the teaching profession's accomplishment pre and post-class would be the two-sample t-test with dependent samples, that's why choice "a" is correct.