A frum college student who falls asleep or dozes off while the professor is speaking, is it a Chillul Hashem? If it is, what should be done if the person finds himself uncontrollably dozing off due to various reasons? Go outside (which is also not so nice when the professor is speaking)?
I can’t answer you as I don’t really know your situation. In general it is disrespectful to fall asleep while a teacher is talking, and you should avoid it, but on the other hand, what is everyone else doing? It might also depend on how often this happens. Additionally, if the professor is talking kefira, you are better off sleeping, and it is also a subtle way to show your disapproval of what he is saying.