Cathode:
-> the ion of the least reactive element will be the one that gets discharged (hydrogen or copper)
Anode:
-> if a halide is present (e.g. F, Cl, Br, I, At), it will be the one to get discharged
-> if a halide isn't present, it will always be the hydroxide ions that will be discharged