whta are the products of electrolysis of the following solutions?

potassium iodide
nickel sulphate
and magnesium chloride