Carbon dioxide consists of elements carbon and oxygen. Since the percentage of carbon in each sample is fixed, that of oxygen must be also fixed. This is according to law of constant proportions.
(b) Hydrogen gas is diatomic in nature `(H_(2))` while helium gas is monoatomic (He). As a result, the number of atoms in one mole of hydrogen. `(2xxN_(A))` are expected to be double as compared to number of atoms in one mole of helium `(N_(A))`.