Final answer:
This is an example of behavioral intervention or behavior modification through rewards and punishments.
Step-by-step explanation:
This is an example of behavioral intervention or behavior modification which involves changing or modifying behavior through rewards and punishments. In this case, the student's showing-off behavior is being ignored while appropriate behavior is being reinforced. By ignoring the showing-off behavior, it is hoped that the student will learn that it does not result in attention or rewards, and will instead exhibit more appropriate behavior in class.