Activity 01
Inquiry Circle: The Function Factory
Divide a complex task, like a library management system, into four distinct sub-tasks. Each small group writes one function with specific inputs and outputs, then they must 'plug' them together to see if the data flows correctly across the whole program.
Explain how functions contribute to code reusability and organization.
Facilitation TipDuring Collaborative Investigation: The Function Factory, ask groups to physically rearrange printed function cards before coding to visualise dependencies.
What to look forProvide students with a short Python code snippet containing a function definition and a function call. Ask them to: 1. Identify the function definition and the function call. 2. Explain what the function call does. 3. Predict the output of the code.