I'm sorry but no matter how angry or frustrated an instructor gets, he should never lower himself to shouting. If that is his style he should be fired!!!
One more thing, if you know anything about psychology, you will also know that anger is a mask for fear.