classrooms will be gender-segregated and Islamic dress is compulsory
My high school was all-male, still is, and there was a dress code - jacket and necktie. I think the necktie is still required.
Boston College was all-male (with some exceptions) until just a couple years before I started there.