The correct option is D O−+e−→O2−
When an electron is added to neutral gaseous species to get an anion, energy is released which is called electron affinity. For the processes given in option (a), (b) and (c) energy is released i.e. 1st electron affinity.
In option (d), an electron is being added to an anion. The 2nd electron affinity involves an absorption of energy as it has to overcome the effect of repulsion.