Among the following, which element reacts with hydrogen to form a compound A and on treatment with water liberates hydrogen gas?
Chlorine
Selenium
Calcium
Nitrogen
Ca+H2→CaH2
CaH2+H2O→Ca(OH)2+2H2
Thus, the element is calcium.
Calcium reacts with water to form calcium hydroxide and hydrogen gas.