r/learnprogramming • u/gal771 • 2d ago
Failed 4 programming exams in a row – I don't know what I'm doing wrong anymore
I started out studying electrical engineering and failed the programming exam there 3 times, even though it was just multiple choice. I switched to an easier university program, thinking it would be different, and I just failed again. This time it was a Python exam on the absolute basics: loops, strings, slicing, lists and simple functions. I got 33%.
The frustrating part is that I didn't just ignore it. I did all the weekly exercise sets, and before the exam I studied with practice quizzes and tracing exercises. When I go through it with explanations, I understand it. But on the actual exam it just doesn't come together.
So now I genuinely don't know what the problem is.
Am I studying the wrong way?
Do I just not know how to learn this kind of thing?
Or am I simply not cut out for programming?
If anyone has been in a similar spot and figured it out, I'd really like to hear what changed for you. How did you actually practice? What made it "click"?
Thanks for reading.
17
u/SpacewaIker 2d ago
Well if you do exercises on your own, are you able to do them? Is the exam more difficult than the exercises you did?
3
u/Lichcrow 2d ago
Start actually coding more. Don't use llm, dont use auto complete. Keep blowing up your program and manually debug.
Do leetcode, it actually helps.
Since we're in the season, you can also do Advent of Code
2
u/Character-Blood3482 2d ago
do you allow to debug on the exam or just one submit only
2
u/lumberjack_dad 2d ago
Not everybody can do every job. I would pivot to something else. You won't regret it especially if you do something else and don't waste your time.
I am all for persevering to achieve something but based on your evidence I don't think it likelyvyou will succeed.
2
u/Mood-Rising 2d ago
Go try something like Scratch that is visual, and find some beginner programmer tutorials on YouTube that you vibe with. Like watch a dozen videos about how loops work from different people. It sounds like you are not fully internalizing the concepts in a more general way. The best way to tackle it is try to learn and relearn things in multiple ways. Also, if possible do your studying in different locations. Because these are core concepts you want to make as many pathways as possible, and changing the context of where you are learning can help a lot.
7
u/Sad_Cauliflower6333 2d ago
The problem is that your asking something that we can’t know unless we see how your work look a like and in that case this post won’t be helpful , no one here will give you an useful answer because we don’t know what your doing, but whatever it is yes you are studying the wrong way.
There’s not such thing has “you don’t know how to learn that kind of thing”
If you say “simple functions” and you are getting 33% then they are not easier for you and you need to put more effort and you need to study more + get a tutor.
I mean good for you that your asking for help but why do You think this is better than ask to your professor why is failing you so you can fix your mistake
1
u/Inevitable-Corgi-860 2d ago
Were the exams in the other university program also MCQs or were they coding problems?
1
u/Gullible_Sweet1302 2d ago
How are you doing in the other subjects?
3
u/shrodikan 2d ago
Give an example of a difficult question without knowing the subject matter nor area of study.
2
u/Past92TheTollbooth 2d ago
Keep practicing, it can click.
1
u/Head-Quote8798 2d ago
i failed my first two python exams too, same vibe where i understood the concepts but choked on indentation or colons when the clock was ticking. the anxiety loop was real... i'd stare at the screen, mind go blank, then rush and make silly mistakes. what finally helped was practicing by hand on grid paper. no computer allowed. i had to write full functions out, checking every bracket and colon manually before even thinking about running it. it felt slow and stupid at first, but it forced me to internalize the syntax rules instead of relying on the editor's autocomplete or error highlighting. after doing this for like two weeks, the exam format stopped feeling so alien because i wasn't trying to 'debug' in my head anymore, i was just transcribing what i knew worked.
1
u/MagicalPizza21 2d ago
Just like with any skill, if you are not good at it and you want to be, practice. If you are practicing, practice more. If you can't, then you're probably not cut out for it.
1
u/Garland_Key 2d ago
Testing anxiety maybe?
1
u/gm310509 2d ago
You didn't mention it, so I do not know one way or the other, but how much did you rely on AI to "help" you?
A common problem is people who describe your situation also seem to have relied on AI quite a bit and as such they weren't actually learning. So, doing the excercises with the help of AI is kind of like asking your friend to do your homework for you. You get the exercises done, but don't really know how to do it yourself.
Again, you didn't mention it, so I don't know one way or the other. But your scenario does seem to have a lot in common with those folks who did rely on AI - so I just thought I'd throw it out there to see what you think.
-1
u/TheStryfe 2d ago
This might not be for you
-1
u/TehN3wbPwnr 2d ago
EE so I'm assuming its questions based around C? or assembly? Are you getting into things like memory management/pointers? or just basics of logic, loops, scope?
0
u/Goobly_Goober 2d ago
What are you getting wrong on the exams? Are you just going through the textbooks or are you actually coding and writing programs that fail, and when they fail, do you know how to fix it?