>>33885207
Tiny flash drive with an autorun function? It'd run a program that searches for & copies over all docx, txt, pdf, etc files. One of this size should be hard to notice. You would need to sneak to and from your prof's computer and need solid timeframe(s) to do so.
You would only do this if your classroom wouldn't have any cameras in eyeshot. If your prof notices, he would at the very least change the questions (he seems the type to make them himself).
That being said, I don't know where you would find such a program (though it should be simple in concept), so maybe you should vibecode it since you're seemingly in a rush.