Business and technology qualifications, Levels 3-6, in Brussels. Explore qualifications
Portal login
Diploma in Higher Education Studies

Mini project: a small program step by step

HES 211 · Introduction to Programming with Python — Week 14 of 16

CourseHES 211
Week14 of 16
SemesterII
TutorOnline in the course chat

This week’s topics

Mini project: a small program step by step

  1. Planning the program
  2. 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.
Course chat

Admitted students ask questions on this week’s page in the student portal: an AI assistant trained on the course answers first, and during the course’s timetabled classes Connect to your tutor brings your tutor into the chat, who may start a call if needed.

Open this week in the portal
Course plan
  • Week 1: What is programming? High- and low-level languages
  • Week 2: Your first Python program
  • Week 3: Variables, data types and constants
  • Week 4: Input, output and calculations
  • Week 5: Making decisions: if, elif and else
  • Week 6: Repeating code: for loops
  • Week 7: Repeating code: while loops
  • Midterm: Midterm evaluation
  • Week 9: Functions: reusable code
  • Week 10: Lists
  • Week 11: Looping through data; tuples and dictionaries
  • Week 12: Finding and fixing errors
  • Week 13: Tracing and testing a program
  • Week 14: Mini project: a small program step by step
  • Week 15: Review and coursework completion
  • Final: Final assessment and submission
Back to the course
Scroll