The correct option is:
The number of educational workshops is the independent variable, and the total cost is the dependent variable.
In this scenario, Justin can choose how many educational workshops he wants to attend, which affects the total cost of his trip to the zoo. Therefore, the number of workshops is independent (he can choose how many to attend), and the total cost is dependent on that choice.