 The high school scenes were filmed at Stuyvesant High School in  Manhattan, one of a few elite, exclusive high schools for students  gifted in math, science and computers. Real school seniors were  extras in many scenes. In the real school, the pool is on the first  floor.