The correct option is B Electrolyzing warm aq. Ba(OH)2 using nickel anode and iron cathode
Very pure hydrogen is made by the electrolysis of water or solutions of a base
like Ba(OH)2 using nickel anode and iron cathode. This is very expensive and
thus finds use only if pure H2 is needed.
Pure water does not conduct electricity well and thus the need for the base.
The gases collected should be separated by a diaphragm so they don't
react explosively to yield water again.