This is the answer of your question. ☺
Answer:
Paraffin > Heptadecane > Hexane > 2,2-dimethylbutane > Propane
Explanation:
It must first be establish that all the molecules listed in the question are alkanes. For alkanes, the intermolecular forces between the molecules of alkanes increases with increasing molecular weight. This is as a result of increase in the surface area of the molecule. Increase in surface area implies a greater degree of dispersion forces.
This is the reason why high boiling points are observed for high molecular weight alkanes.
Bonding is ionic for sure
Mg has lost 2e,s to become Mg2+
and there are 2 Cl-
the strong attraction between the Mg2+ and 2Cl- form the ionic bonding