1. Mg(OH)2(aq) + 2 HNO3(aq) → Mg(NO3)2(aq) + 2 H2O(l)
It is both double displacement and neutralisation reaction.
2. Mg(s) + CO(g) → MgO(s) + C(s)
It is a redox reaction in which magnesium is oxidised and carbon monoxide is reduced.
3. BaCl2(aq) + Na2SO4(aq) → BaSO4(s) ↓ + 2 NaCl(aq)
It is both precipitation and double displacement reaction.
4. 2 NaNO3(s) → 2 NaNO2(s) + O2(g)
It is both endothermic and decomposition reaction.