Nov 02: Practice Coding Quiz
Meet in King 248
Learning Objectives
After today's class, you should be able to:
- Design a test module using
from importand test functions. - Write an
assertstatement for objects modified by a function. - Run
pytestprogrammatically from the"__main__"block.
Lesson Outline
Presentation [10 min]
- Writing test functions:
from importandassert
New Resource [10 min]
- PyTrail Interactive Review ← I just built this app for you!
Walkthrough [30 min]
- Practice Quiz 4 – similar format to Wednesday's quiz
Your To-Do List
- Make some progress on PyTrail
- Try to finish chapters 13–15 before Quiz 4
- Required before Friday's class:
- Read Chapter 10 of Python for Everyone (
mayfield1) - Do every activity and mark each section as completed
- Read Chapter 10 of Python for Everyone (
- Required before Monday's class:
- Parts A and B of PA4: SoDuckYou
- Don't use AI; visit TA Hours to get help