I have done this so often and it has cost me too. Curiosity is good, but sometimes you have to know the things that are asked in the exam. Not for grades but there is a reason you are required to know them. Half of it atleast. Rest is just garbage in garbage out.