A friend posted a helpful and funny link containing a chart designed to tell you when to comment or ask questions in class and when to keep quiet. My favorite one is “Is your comment an attempt to teach the professor something you think he doesn’t know” if so “STOP! Don’t speak!” You’d be surprised how common that particular one is.