Which of the following is best for determining the type of bond that will form between atoms when forming a compound?