This week’s topics
Mini project: a small program step by step
- Planning the program
- Building and testing it
What you will be able to do
- 2.2 Implement sequence, selection, and iteration structures.
- 3.1 Define and call functions to modularise code.
- 4.2 Iterate over data structures to solve a problem.
Activity
Build, test and demonstrate a small quiz program.
Study materials
Further resources
- Think Python, ch. 4: Case study – interface design · PDF · Downey, Think Python 2e (Green Tea Press), ch. 4: planning and building a small program step by step, pp. 29–38 · for registered students
- Think Python, ch. 13: Case study – data structure selection · PDF · Downey, Think Python 2e (Green Tea Press), ch. 13: a worked mini project from problem to tested program, pp. 125–136 · for registered students
- Introduction to Computer Science, 2.1: Decomposition · PDF · OpenStax Introduction to Computer Science (2024), 2.1 on breaking a problem into parts before coding, pp. 40–45 · for registered students
- From engagement to empowerment: project-based learning in Python coding courses · Open-access article · Frydenberg & Mentzer (2021), Information Systems Education Journal. Project-based learning in Python: planning, building, presenting. · for registered students
- Ten simple rules for making research software more robust · Open-access article · Taschuk & Wilson (2017), PLOS Computational Biology. Short rules for making a small program reliable and testable. · for registered students
Materials marked “for registered students” open in the student portal, which is set up as soon as you receive final acceptance.