Compare the acid or base strength of the following compounds and explain your ordering by explaining in terms of the difference in the structure.
a. Perchloric, chloric, chlorous and hypochlorous acids
b. Water, hydrogen sulfide, hydrogen sellenide and hydrogen telluride
c. SO42-, Cl-, CN-
d. NH3, H2O, F-