Answer : The correct formula of the given compound will be:
(a) 
(b) 
(c) 
(d) 
Explanation :
Ionic compound : It is defined as the compound which is formed when electron gets transferred from one atom to another atom.
Ionic compound are usually formed when a metal reacts with a non-metal.
The nomenclature of ionic compounds is given by:
1. Positive ion is written first.
2. The negative ion is written next and a suffix is added at the end of the negative ion. The suffix written is '-ide'.
3. In case of transition metals, the oxidation state are written in roman numerals in bracket in-front of positive ions.
(a) sodium oxide
Sodium oxide is an ionic compound because sodium element is a metal and oxygen element is a non-metal. The bond formed between a metal and a non-metal is always ionic in nature.
The charge on sodium is (+1) and the the charge on oxygen is (-2). Thus, the formula of the compound sodium oxide will be 
(b) iron sulfide
Iron sulfide is an ionic compound because iron element is a metal and sulfur element is a non-metal. The bond formed between a metal and a non-metal is always ionic in nature.
The charge on iron is (+2) and the the charge on sulfur is (-2). Thus, the formula of the compound iron sulfide will be 
(c) cobalt sulfate
Cobalt sulfate is an ionic compound because cobalt element is a metal and sulfur element is a non-metal. The bond formed between a metal and a non-metal is always ionic in nature.
The charge on cobalt is (+3) and the the charge on sulfate is (-2). Thus, the formula of the compound cobalt sulfate will be 
(d) barium fluoride
Barium fluoride is an ionic compound because barium element is a metal and fluorine element is a non-metal. The bond formed between a metal and a non-metal is always ionic in nature.
The charge on barium is (+2) and the the charge on fluorine is (-1). Thus, the formula of the compound barium fluoride will be 