well, if it's a speaking exam, like in english we had to recite 50 lines of shakespeare, grow your hair long, get a blue tooth, and have your older brother who is quite possibly the best cheater of all time read you the lines.
or
if it is a regular school test, have a smart friend or pay a smart kid to write down all the answers on his arm as he's taking the test. later, write these down, and tape them to the inside of your boxer's waistband. no matter how obvious you are, which this is pretty discreet motion, you can accuse the teacher of sexual harassment for wanting you to take off your underwear. if they are too forceful, you can get them for sexual assault, and then the school will pretty much suck your dick with financial recompensation, and will give you a hundo for all your years there.
or
have a huge dick like me, and have a female teacher, and fuck her brains out, so she'll give you hundos all the time.
or
if the teachers a guy and you're not gay or a girl, buy the dude like three hot hookers to fuck him, and he'll let you ace the semester out of gratitude.