Answer
$MgSO_{4(s)}\Rightarrow Mg^{2+}_{(aq)}+SO_{4(aq)}^{2-}$
$NH_4NO_{3(s)} \Rightarrow NH_{4(aq)}^{+}+NO_{3(aq)}^{-}$
Work Step by Step
When a strong electrolyte is dissolved in water, the compound completely dissociates into its ions and is able to conduct electricity.