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
, andnot
.
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
- Start Chapter 3 "orange" textbook activities
- Start Homework 3: HW 3
Complete by Monday September 11th
- Complete the Chapter 3 "orange" textbook activities. You must do this through CANVAS to receive credit.
Due Wednesday September 13th at 11pm