The correct option is B The electrolysis of warm Ba(OH)2 solution using Ni electrodes.
Pure hydrogen gas can be obtained by the electrolysis of warm Ba(OH)2 solution using Pt or Ni electrodes. As water does not conduct electricity very well, it is usual to electrolyse aqueous solution of Ba(OH)2. The gases produced at anode and cathode must be kept seperate.
Reactions occusirng at anode and cathode are:
Anode:
2OH−→H2O+12O2+2e−
Cathode:
2H2O+2e−→2OH−+H2
Overall reaction being
H2O→H2+12O2
Option (b) is correct.