As per ionic model, ionic compounds are held together by electrostatic force. The ionic compound having strong electrostatic force will have high melting point.
Electrostatic force is proportional to charge and size of constituent ions.
In case of MgO
Charge on Mg = +2
Charge on O = -2
In case of LiF
Charge on Li = +1
Charge on F = -1
In case of AlN
Charge on Al = +3
Charge on N = -3
In case of RbF
Charge on Rb = +1
Charge on F = -1
In case of CaS
Charge on Ca = +2
Charge on S = -2
As magnitude of electrostatic force is highest in AlN, therefor, it has highest melting point.
Relative and average atomic mass both describe properties of an element related to its different isotopes.
Explanation:However, relative atomic mass is a standardized number that's assumed to be correct under most circumstances, while average atomic mass is only true for a specific sample.