The students must be certain that there is little to no oxygen present in the test tube.
Since yeast are facultative anaerobes, they can perform fermentation (anaerobic respiration) in the absence of oxygen, leading to carbon dioxide production. If there is significant oxygen present, the yeast may switch to aerobic respiration, which does not produce carbon dioxide in the same way as fermentation does. Hence, to accurately measure the rate of carbon dioxide production from alcoholic fermentation, minimizing oxygen levels is crucial.