Atomicity of an element is a measure of total number of atoms present in a molecule.
In Carbon dioxide (CO2) Total number of atoms are 3 hence it is triatomic
In Hydrogen sulphide (H2S) Total number of atoms are 3 hence it is also triatomic
Argon is an inert gas molecule it is mono atomic
In Oxygen (O2) Total number of atoms are 2 hence it is diatomic.