How to Study Each Week
Study Principles:
- Write from scratch: You cannot learn programming by just reading notes. You must write and run the code yourself.
- Don’t rely on AI too early: When you get stuck, try to debug it yourself first. Resorting to AI immediately skips the critical learning process.
Follow this 4-step loop every week:
Stuck on a Problem?
If you get stuck while writing code:
1. Trace on Paper: Walk through the code in your head and trace variable values step-by-step.
2. Review Syntax: Check the syntax guide or notes to identify mismatches.
3. Study the Solution: If still blocked, check the working solution and rewrite it yourself.
Still Feel Lost or Weak?
If you have finished all the study loops and mockup exams but still feel like you need more practice, head over to the Resources Page for extra code examples, cheat sheets, and supplementary notes.
Course Roadmap
Each week builds directly on previous ones. Follow this path top-to-bottom.
Variables, data types, input/output, and compiling your very first C/C++ program.
Organize code into reusable, callable blocks with parameters and return values.
if / else and switch — programs that adapt their behavior based on conditions.
Repeating actions with for/while loops and storing sequences of data in 1D arrays.
Searching, sorting, and advanced manipulation of array data — the tools of real programs.
A comprehensive mock exam focusing on paper-based code tracing, output prediction, and debugging.
Grids, matrices, and loops inside loops — the foundation for image processing and tabular data.
Functions that call themselves — an elegant and powerful technique for solving problems that repeat with smaller inputs.
Direct memory access via addresses — the most fundamental concept in systems programming and a gateway to dynamic memory.
The ultimate comprehensive exam covering everything from basic I/O up to Pointers and Recursion.