How might mental set have played a role in Maria’s academic problem?

Maria’s method of studying worked effectively throughout high school until she took her first foreign language course. In this course, her grades were much lower than usual. How might mental set have played a role in Maria’s academic problem?