Question: how many oxygen molecules were produced?
Answer: For each molecule of glucose produced: 6 water water molecules are oxidized, and become the source of electrons for carbon dioxide reduction. 6 molecules of carbon dioxide are required, one for each carbon atom in glucose. 6 molecules of oxygen are produced as a by product of water oxidation.