Option (a) is correct.
Nonmetals form acidic oxides and metals form basic oxides. In the given case, all the elements except the one with atomic number 7 are metals so they will form the basic oxide. Element with atomic number 7 is a nonmetal hence it will form an acidic oxide.