Nearly 7,500 seniors enrolled in summer classes at dozens of the city’s high schools hope to graduate in August.