Login

Please fill in your details to login.





block 02 subroutines and recursion

Master subroutines and recursion to write clean, professional, and powerful, reusable code.
As your programs grow in size and complexity, writing one long, continuous script quickly becomes impossible to manage and debug. In this block, you will learn how to break down large problems into smaller, self-contained, and reusable blocks of code known as subroutines. You will explore how to pass data into these subroutines securely, protect your variables using local scope, and organise your software like a professional engineer. Finally, you will dive into recursion - a powerful and elegant programming technique where a subroutine calls itself to solve complex computational problems.
Last modified: September 20th, 2026
The Computing Café works best in landscape mode.
Rotate your device.
Dismiss Warning