I'm new to programming and struggling in an introductory C++ class. The exams are on paper, and the labs use VS Code. What resources or study habits would help me improve?
How can I catch up in my first CS class?
Answers
Practice a little most days rather than saving everything for a long study session. Work through examples from class, type them in yourself, and change something to see what happens. Then try a similar problem without looking at the example.
Even 20 minutes can be useful if you spend it actually writing and testing code. A beginner C++ reference can help when you forget syntax, but reading alone probably won't give you enough practice.
Reply to this answer
Since your exams are on paper, practice on paper too. Take a short program and trace it line by line, keeping track of variable values and output. Then run it in VS Code and compare the result with your prediction.
Look back over the midterm if you can. Were you losing points on syntax, tracing, or figuring out how to solve the problem? That will tell you what to practice instead of just rereading everything.
Reply to this answer
Go to office hours or ask a teaching assistant for help with a specific question. Bring your attempt and explain where you got stuck. A question that feels basic is still worth asking, especially if later topics depend on it.
Reply to this answer
Before worrying about C++ syntax, write out the steps you'd use to solve the problem in plain English. Then translate one step at a time into code. This makes it easier to tell whether you're stuck on the logic or just don't remember how to express it in the language.
Reply to this answer
Check how the remaining labs, quizzes, and exams affect your grade, then focus your study time accordingly. For extra exercises, Exercism has small programming problems, but keep the topics in your course materials as your guide so the practice matches what you're being tested on.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Nerquix-8c:
Writing down why an answer was wrong can help too. That gives you a specific mistake to check for on the next practice problem.