(i) As per the position in the periodic table this element occupying group number 1 and period number 3 is sodium.
(ii) When heated in air, it forms sodium peroxide (A)
4Na + O2 → 2Na2O2
(iii) With water, sodium gives sodium hydroxide (B)
2Na + 2H2O → 2NaOH + H2
(iv) With ammonia, sodium gives sodamide (I)

The element is sodium.
The compound A is sodium peroxide.
The compound B is sodium hydroxide.
The compound C is sodamide.