The correct option is B 1/2 mole of H2
Mg on reaction with an acid always liberates H2 gas.
So, let us take the reaction:
Mg+2HCl→MgCl2+H2
1 mol of Mg reacts to give 1 mol of H2
No. of moles of Mg=given massmolar mass=1224=0.5 mol
So, 0.5 mol of Mg on reaction with an acid will give 0.5 mol of hydrogen gas.