Asking a student if they have violated the honor code is not the proper question to ask, for a couple of reasons. First is that maybe they don't even know what the honor code is, and second maybe the students aren't being honest in fear of the reprecussions.