In the following experimental setup of electrolysis of water, if P and Q are the gases collected in the test tubes enclosing the electrodes R and S, then select the option/options in which the matching is correct:
(i) P - Oxygen gas, R - Anode
(ii) P - Hydrogen gas, S - Cathode
(iii) Q - Hydrogen gas, R - Cathode
(iv) Q - Oxygen gas, S - Anode