High purity () dihydrogen is obtained by
High purity (>99.95% dihydrogen is obtained by electrolysing warm aqueous barium hydroxide solution between nickel electrodes)
Statement from NCERT. Therefore, B is the right option.
Topic: Position, isotopes, preparation and properties of dihydrogen