Mario's Time Machine.
You have to answer questions on a quiz, each of them having what looks like 2000 answers, and only one of them is right. Repeat the process ten more times, and you have to punish yourself by skipping dialog boxes and possibly missing crucial information.
I played it on an emulator years ago, and RAGE