I didnt even know who my professors where or would be when I enrolled in university, are you suggesting women dont enroll in IT because there arent female professors?
Well, many college students don't settle on a degree for the first year or two and it's pretty normal to switch majors. If you get through a few courses and there are no women role models in the department, I would guess that more women than men would switch to something else.