Functions: Parameters & Return Values, a Call Log and Functions With and Without Side Effects
This lesson is part of the course
Buy the course once for $9.99 to unlock every lesson and lab, the final exam and the certificate – lifetime access, no subscription.
Lessons in this course
- Variables & Assignment: One Executed Line per Row, a Column per Variable and the Swap with a Temporary Pro
- Conditions: If / Else-If Chains as IFS, AND/OR/NOT and a Test Table that Reaches Every Branch Pro
- Counting Loops: a For-Loop Row by Row, Accumulators, Running Totals and Nested Loops Pro
- While Loops & Termination: Digit Sums with INT and MOD, Halving to a Limit, a Toy 3n + 1 Sequence and an Iteration Guard Pro
- Arrays & Strings: 0-Based vs 1-Based Positions, the Running Maximum, Counting Matches and Reversing a Word Pro
- Functions: Parameters & Return Values, a Call Log and Functions With and Without Side Effects Pro
- Recursion: a Call-Stack Table Going Down and Coming Back Up, the Same Task as a Loop and Stack Depth Pro
- Capstone – Debugging: < vs <= in Loop Bounds, Wrong Start Values, Buggy vs Fixed Traces, a Test Table and a Bug Chart Pro