Karate Dojos are structured so that the lowest ranking students are nearest to the dojo entrance, meaning in the event of an attack the students would be killed first and the sensei (martial arts teacher) would remain safe.