1) Valence electrons.
Valence electrons are electrons in the outer shell.
Carbon is in group 14 (IV A). This means that carbon has four valence electrons.
Oxygen is in group 16 (VI A). This means that oxygen has six valence electrons.
In total, CO2 has 6+6+4=16 valence electrons.