Answer:
John suffers from overconfidence.
Step-by-step explanation:
Overconfidence causes individuals to have greater expectations from their abilities than they actually are capable to deliver. This error in judgement of once capabilities is very common and has three forms: overestimation (I will score higher), overplacement (I will score higher than others) and overprecision (I am sure my expectation is accurate).
Here, we can observe overestimation as a result of a discrepancy between what John believes he can do (get 9/10 correct answers) and what he is capable of doing (getting 6/10 correct answers).