Week 2 - Begins


Monday-Tuesday Arrow-left-horizontal-blue.png

In the first teamwork of the week we'll tackle together one of the challenging finger exercises from the Guttag text. But before you do run through a little warmup and a short lecture/worksheet.

  1. Intro to the if-then-else statement in Python.

  2. 5-Minute Warmup: Write a program that gets a positive integer from the user and prints out if it is odd or even. (Compare your program with mine Download mine. This activity is not graded.)

  3. Trivia: What does Python do for negative integers with the % operator? What about the // operator? (Trivia questions are discussed and answered on Slack).

  4. Worksheet 3: Branching Flow Charts
  5. Worksheet 4: Nested If

  6. TW2: Odd Numbers. Do with your Blue Team sometime before midnight Wednesday. Schedule this on Zoom and be sure to invite me since I will occasionally drop in to teamwork sessions.

  7. ZB3: Branching. Individual work due at midnight Wednesday from your zyBook.
Week 2: Branching

857546148.jpg

 

Course Shortcuts

                   Weeks                   

          Guttag Text (G)          

            zyBooks (ZB)            

             Worksheets            

         Teamwork (TW)        

Practice-on-Paper (PQ)

              Projects (P)             

            Assessments