In sodium peroxide (\( Na_2O_2 \)), oxygen's oxidation number is -1 within the peroxide ion (\( O_2^{2-} \)). Conversely, in \( F_2O \), oxygen exhibits an oxidation state of +2 due to fluorine's higher electronegativity. Ozone (\( O_3 \)) features an oxidation state of 0 for oxygen. Therefore, \( F_2O \) is the compound where oxygen's oxidation number is +2.