Electron-energy-loss spectra of in the region of C and O excitations have been recorded over a wide range of momentum transfer (K), The dipole-forbidden transition to the state in is detected for the first time, to our knowledge. A detailed analysis, with careful consideration of minimization of systematic experimental errors, has been used to convert the measured relative cross sections to absolute, momentum-transfer-dependent, generalized oscillator strength (GOS) profiles for all resolved C and O transitions of Theoretical results for the GOS, computed within the first Born approximation, were obtained with ab initio configuration interaction wave functions for the C transitions and with ab initio generalized multistructural wave functions for the O transitions. These wave functions include relaxation, correlation, and hole localization effects. Theory predicts large quadrupole contributions to the GOS for O excitations. In addition the computed GOS for O and Rydberg states clearly show oscillations arising from interference between localized core excitations. Overall there is good agreement between the experimental and theoretical results, indicating that the first Born approximation holds to a surprisingly large momentum transfer for the core excitations studied.