To determine the ratio of the number of molecules of oxygen and nitrogen in a mixture where the ratio of their masses is given as 1 : 4, we need to consider their respective molar masses and use the concept of number of moles.
Thus, the ratio of the number of molecules of oxygen to nitrogen is 7 : 32.
Therefore, the correct answer is 7 : 32. This is due to the inversely proportional relationship between the number of moles and molar mass when the masses are constant.