It should always be kept in mind that the metal which goes into solution in the form of its ions undergoes oxidation and thus acts as negative electrode (anode) and the element which comes into the free state undergoes reduction and acts as positive electrode (cathode) :
(a) In this case `Zn` is oxidised to `Zn^(2+)` and thus acts as anode (negative electrode) while `Cu^(2+)` is reduced to copper and thus acts as cathode (positive electrode). the cell can be represented as
`Zn|ZnSO_(4)||CuSO_(4)|Cu`
or `underset("Anode (-)")(Zn|Zn^(2+))||underset("Cathode (+)")(Cu^(2+)|Cu)`
(b) In this case Cu is oxidised to `Cu^(2+)` and `Ag^(+)` is reduced to Ag. The cell can be represented as
`Cu|Cu(NO_(3))_(2)||AgNO_(3)|Ag`
or `underset("Anode (-)")(Cu|Cu^(2+))||underset("Cathode (+)")(Ag^(+)|Ag)`
(c) In this case, Zn is oxidised to `Zn^(2+)` and `H^(+)` is reduced to `H_(2)`. The cell can be represented as :
`Zn|ZnSO_(4)||H_(2)SO_(4)|H_(2)(Pt)`
or `underset("Anode (-)")(Zn|Zn^(2+))||underset("Cathode (+)")(2H^(+)|H_(2) (Pt))`
(d) Here, Fe is oxidised to `Fe^(2+)` and `Sn^(2+)` is reduced to Sn. the cell can be represented as :
`Fe|FeCl_(2)||SnCl_(2)|Sn`
or `underset("Anode (-)")(Fe|Fe^(2+))||underset("Cathode (+)")(Sn^(2+)|Sn)`