(a) Iron is above hydrogen in the reactivity series, so it displaces hydrogen from the dilute acid and forms iron(II) sulphate:
Fe(s)+H2SO4(aq)→FeSO4(aq)+H2(g)
The gas evolved is hydrogen.
(b) The solution turns pale green, which is the colour of iron(II) sulphate (ferrous sulphate) solution.
Test for the gas: bring a burning splinter near the mouth of the test tube. The gas burns with a pop sound, which shows that it is hydrogen.

Iron filings in dilute sulphuric acid: a pale green solution and a gas that burns with a pop.