Stage 3: Functions and Modular Programming
Split programs into reusable, testable pieces.
- 01
Why functions matter
15 minLocked: Complete "Number-based problem solving" first.
- 02
Declaring and defining functions
15 minLocked: Complete "Why functions matter" first.
- 03
Function parameters
15 minLocked: Complete "Declaring and defining functions" first.
- 04
Return values
15 minLocked: Complete "Function parameters" first.
- 05
Void functions
15 minLocked: Complete "Return values" first.
- 06
Pass by value
15 minLocked: Complete "Void functions" first.
- 07
Pass by reference
15 minLocked: Complete "Pass by value" first.
- 08
Default arguments
15 minLocked: Complete "Pass by reference" first.
- 09
Function overloading
15 minLocked: Complete "Default arguments" first.
- 10
Local and global scope
15 minLocked: Complete "Function overloading" first.
- 11
Variable lifetime
15 minLocked: Complete "Local and global scope" first.
- 12
Recursion
15 minLocked: Complete "Variable lifetime" first.
- 13
Base cases and recursive cases
15 minLocked: Complete "Recursion" first.
- 14
Header files and source files
15 minLocked: Complete "Base cases and recursive cases" first.
- 15
Basic program modularization
15 minLocked: Complete "Header files and source files" first.
Level up this stage
- Debugging: Swap doesn't swap (intermediate)
- Debugging: Square of 6 (intermediate)
- Mini project: Console Calculator
- Revise for exams: MCQs, short questions and past-paper programs