The molar mass of NiO is approximately 74.69 g/mol. So, the number of moles of NiO is given by the mass of NiO divided by its molar mass. That is,
$$\text{moles of NiO} = \frac{24.78 \, \text{g}}{74.69 \, \text{g/mol}} = 0.3318 \, \text{mol}.$$
Show more…