(a) Cd: 0 in Cd to +2 in Cd(OH)2 (oxidised). Ni: +3 in NiO(OH) (since x−2−1=0) to +2 in Ni(OH)2 (reduced). Oxidation occurs at the anode, so cadmium is the anode.
(b) Anode (oxidation), using OH− to supply the oxygen and hydrogen:
Cd+2OH−→Cd(OH)2+2e−
Cathode (reduction), each Ni gains one electron:
NiO(OH)+H2O+e−→Ni(OH)2+OH−
(c) Multiply the cathode reaction by 2 and add; 2OH− cancels:
Cd+2NiO(OH)+2H2O→Cd(OH)2+2Ni(OH)2
Check: Cd 1, Ni 2, O 6, H 6 on each side; charge 0. The OH− ions used at the anode are exactly replaced by those produced at the cathode, so OH− does not appear in the overall equation and the KOH concentration stays constant; only a little water is consumed.