Predict the products of electrolysis in each of the following:
(i) An aqueous solution of AgNO3 with silver electrodes
(ii) An aqueous solution AgNO3 with platinum electrodes
(iii) A dilute solution of H2SO4 with platinum electrodes
(iv) An aqueous solution of CuCl2 with platinum electrodes.