I will get straight to the point without much details about my mental state. I am currently studying Electrical Engineering and Computer Science. I would say that it is a demanding program. My school is considered the "hardest" to get into in my country, and we have many different courses involving math, physics, introductory computer science, electronics etc.
I know I have to deal with many issues with my self-esteem, but I would really love to hear some advice on what to do when I feel like I am not sufficiently prepared to take an exam. This happens even in cases where I watched every (or almost every) class, did coursework etc. throughout the semester, but found that I struggled with past papers some days before the exam. This makes me feel like I do not "deserve" to get a good mark if I don't study everything properly. It's like I imagine every possible scenario of failure in my head and I reject to even take the exam even though my school offers me the chance to take it again.
I am afraid to ask my professor for advice on this issue because I do not want him to feel like I care only about my grades and not the actual course, because in most of my courses I really try to care and find a deeper meaning. But I have seen (comparing to my classmates) that this is not a good study approach for finals. I feel confused, weak, and embarrassed.
My therapist asked me why I am so afraid, and I think it's because I relate my grades to whether I am good enough to follow my academic goals. For example, if I really like the course, I feel like I am not eligible to further follow related courses if I did not excel. And if I do not like the course, I feel like I have to excel because it's mandatory in my field and it shows my ability to adapt. I also feel like succeeding properly involves studying everything even if it's not appealing, because otherwise I feel like I am cheating my self, my education, and my "profession".
How can I deal with this?