The correct option is D 2:1
The ratio of hydrogen to oxygen by volume after decomposing the water by an electric current is 2:1
2H2O→2H2+O2
Thus, the decomposition of 2 moles of water gives 2 moles of hydrogen and one mole of oxygen.
The ratio of hydrogen to oxygen by number of moles is 2:1
Volume is directly proportional to the number of moles.
Hence, the ratio of hydrogen to oxygen by volume after decomposing the water by an electric current is 2:1