Week 3 Functions and Modularity
Functions, Modularity, and Parameters - How do we organize and modularize systems using functions and objects to create modules we can stitch together to come up with solutions to problems in interesting ways? 🧰
Lego spaceship with two pilots. Photo by Philip Myrtorp on Unsplash
Tasks
- Read through the lab 2 guidelines before the Friday lab.
- Complete the readings
- Complete the assignments
Topic Intros
No. |
Title |
Slides |
|---|---|---|
| 01 | Introduction to Functions | |
| 02 | Documentation | |
| 03 | Functions and Scope |
Class Activities
Activity |
Title |
Date |
|---|---|---|
| Topic Intro | Introducing Functions | Tue, 24 Jan |
| Topic Intro | Documentation | Wed, 25 Jan |
| Topic Intro | Functions and Scope | Wed, 25 Jan |
| Lab 02 | Contagion: first functions | Fri, 27 Jan |
Assignments
Assignment |
Title |
Due |
|---|---|---|
| Due this week | ||
| Lab 01 | Your first chatbot | Fri, 27 Jan, 23:59 EST |
| Q 03 | Quiz 03 | Sun, 29 Jan, 23:59 EST |
| Due next week | ||
| Lab 02 | Contagion: first functions | Fri, 3 Feb, 23:59 EST |
| R 02 | How does it work? | Sun, 5 Feb, 23:59 EST |
Readings
| 📖 | Chp 6 - Global and Local Variables | Required |
| 📄 | Python Functions | Required |
| Python Video on Global and Local Scope | Required | |
| 📌 | Debugging Tip: Ask Debugging Questions by Julia Evans | Required |
| 📌 | Functions Cheatsheet | Required |