The second statement is true.
Step-by-step explanation:
"An octet is formed via covalent bonding when valence electrons are shared between atoms" this statement is true.
- The ionic bond is formed when there is an overall transfer of valence electron among the two atoms that generates two oppositely charged ions. One atom loses electrons forming positively charged cation, other accepts the electrons forming a negatively charged anion hence octet can not be formed
- In covalent bonding there is sharing of electrons hence an octet is formed
∴ The second statement is true.