It's often inappropriate to swear.
Wally was in class giving a presentation in front of his teacher.
Wally wanted to make a point.
Wally explained his project to all his classmates and his teacher.
Wally used a series of swear words to accent the point in his presentation.
The teacher gave Wally a passing grade for his understanding of the topic.
The teacher gave Wally a failing grade for his inappropriate comments.