According to most of the ex-Navy people I've met, it's high school part 2. None of them had been officers, and I'm a tiny bit surprised it extends to the officer class, but only a tiny bit.
I had a friend who was an SWO, was brilliant in school, extremely physically fit, spoke multiple languages, etc. He got out after the minimum enlistment and couldn't stop talking about how terrible the culture was and how you basically needed to do whatever it took in order to secure your next promotion.