Explain when a z-test would be appropriate over a t-test.

Explain when a z-test would be appropriate over a t-test.