At times our students are not focused throughout our lessons. One day I had to get creative because I had a few students off task after being redirected multiple times. The next day they had to complete a quiz to ensure that they learned the content in the mist of the talking and/or horse playing.
I have only had to use this quiz a few times over the past three years. Once students realize that they are being held responsible for the content whether they focus or not, they quickly correct their behavior.
In order for this to work, you must record this grade in the grade book. Parent contact drives it home, so parents had to sign the quiz once graded.