Decorate your environment
Teachers can’t control your eyes. You are free to look wherever you’d like during a test, as long as you’re keeping your eyes away from your classmate’s exam. So all you need to do is make sure to fill the class with the information you need so you can go over it during class without raising any suspicions.
Like in this picture, you can write on a pole or a wall your teacher will not suspect to look at. You can then use your acting skills to make it look like you are thinking of the answer when, in fact, you are actually reading it.