If you guess the secret question, wouldn't it ask you to reset the password and not give it to you? Wouldn't the teacher notice that they couldn't login?
But then again, if they write a general knowledge question as their "secret" question, then I guess they wouldn't be using technology much...