What's one way to make your students get it right? Pelt dodge balls at them if they utter the wrong answer. At least that's Cameron Diaz's game plan in her new flick, 'Bad Teacher,' due out this spring.

Starring alongside Justin Timberlake, Jason Segel and Phyllis Smith ("Phyllis" from 'The Office'), Diaz plays a teacher whose lesson plans seem to include smoking weed, sexing it up at car wash fundraisers and trying to bag the hot and rich substitute teacher, played by Timberlake.

But it looks like Diaz has some real life experience to back up at least two of these three tasks. Diaz admitted that when she was in high school she bought weed from her classmate, Snoop Dogg. Timberlake was also her real-life beau; the two previously dated for four years.

She's got the "medicinal marijuana" and the JT thing down. Now she's just got to get grading. And from the looks of it -- at one point she writes "Are you f**king kidding me?" on her student's homework -- it's going to be a bumpy (and funny) ride. (Warning: Mature Content)