A student is writing a program to model different real-world events using simulations. Which of the following simulations will generate a result that would best be stored using a Boolean variable?
answer choices
A simulation of flipping a fair coin.
A simulation of rolling a fair die (with sides numbered 1 through 6.)
A simulation of the temperature in a location over time.
A simulation of traffic patterns on a road.