Final answer:
Oxygen and Fluorine are the two elements that have two electrons in their outermost shell.
Step-by-step explanation:
The two elements that have two electrons in their outermost shell are Oxygen and Fluorine. Oxygen is a Group 6A element and has six valence electrons, while Fluorine, a halogen from Group 7A, also has seven valence electrons.