For each of the following situations, find the critical value (s) for z or t

For each of the following situations, find the critical value (s) for z or t.

a) H0:p=0.5vs.HA : p≠0.5at α=0.05
b) H0:p=0.4vs.HA : p>0.4 at α=0.05
c) H0:μ=10 vs.HA : μ≠10 at α=0.05; n=36
d) H0:p=0.5vs.HA : p>0.5 at α=0.01; n=345
e) H0:μ=20vs.HA : μ<20 at α=0.01; n=1000