Skip to content

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 import and test functions.
  • Write an assert statement for objects modified by a function.
  • Run pytest programmatically from the "__main__" block.

Lesson Outline

Presentation [10 min]

  • Writing test functions: from import and assert

New Resource [10 min]

Walkthrough [30 min]

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
  • Required before Monday's class: