September 7: Branches

Learning Objectives

After today's class, you should be able to:

  • Evaluate boolean expressions with comparison operators (<, >, <=, >=, ==, !=).
  • Explain the syntax and meaning of if/else statements and indented blocks.
  • Evaluate boolean expressions that involve comparisons with and, or, and not.

Lesson Outline

Quiz 1: 25 minutes

  • Log in as student on the lab machine
  • Open web browser, go to canvas and log in with your eid
  • In canvas, go to Modules, Quiz1
  • Do part one of the Module
  • The programming portion is given on sheet of paper
  • Open Thonny
  • Submit work using Canvas with Gradesope, Module Quiz1, Programming

Mini Lecture with inclass activities: ~35min

Your To-Do List

By today

Complete by Monday September 11th

Due Wednesday September 13th at 11pm