0.277 moles
To find the amount of H2 produced from 5.0 grams of water, first convert the mass of water to moles using its molar mass, and then apply the stoichiometry of the reaction equation. For the electrolysis of water, an equal amount of moles of H2 is produced as the moles of water consumed, resulting in 0.277 moles of H2.