how many grams of O2 may be produced from 50g of KClO3?

figure percent of O in KClO3. 3*16/(2*16+35+40)

so in that times 50 grams will give you the mass of O atoms in it.