Michael Roussell writes a fascinating article, based on two decades of research, sketching out how beliefs can be altered by surprising events: when one receives praise instead of correction, this can increase positive self-beliefs.
See this website for the full article about the role surprise plays in forming student beliefs, both positive and negative: http://i-a-e.org/newsletters/IAE-Newsletter-2012-88.html