Ah...brings back memories of playing with my tama in math class. As long as you don't stare at it for the entire time, I see no harm in it, especially if your teacher gives free time. I just muted it and hid it out of sight behind my backpack. Ah...those were the days. :P