Behavior, both appropriate and inappropriate can be thought of as serving one or more of the following functions:
Attention
Escape or Avoidance
Access - to tangibles or activities
Sensory
When trying to address inappropriate behavior in the classroom, it helps to begin by determining which function the behavior serves.