A scolding with physical accompaniment. Includes whipping, imprisonment, and the death penalty. When used in context of the education system, only whipping (we'll hope) is being referred to.