Governor's Career & Technical Academy Arlington

CSC 221 Weekly Assignments: Week 4

CSC 221


Overview

This week we will learn about Python's statements for control flow, including branching, looping, and exception handling.

Friday, September 20th

Classwork

We'll start class today by showing you how to use vim as a Python IDE, since we didn't get to do this on Wednesday.

After that you will present the programs you wrote in class last time we met. The following table has the problems you chose:

PeopleExercise
Chris & JeffSet 0 Ex 2
Lary & LucySet 0 Ex 3
Sean & RachelSet 0 Ex 8
Delaine & GiselleSet 1 Ex 2

We'll use any remaining time to begin the homework excercises that will prepare you for the quiz at the begining of class next Tuesday.

Homework

Complete exercises 1 and 3 through 10 from Chapter 4: Exercise Set 1: PCEP Practice. We will have a quiz based on these exercises when you come to class on Tuesday.

Wednesday, September 18th

Classwork

Last class we let Python choose random pairs for us, and it gave us the following:

Pairs for the Python Course
============================
Delaine will pair with Lucy.
Sean will pair with Rachael.
Chris will pair with Jeff.
Lary will pair with Giselle.

Each pair should select one of the programming exercises from among the following choices:

We'll take a few minutes before you start to show you how to use vim as a Python IDE.

Homework

Complete exercises 1, 4, 5, 6 and 7 from Chapter 4: Exercise Set 0: Chapter Review.

Monday, September 16th

Classwork

We will begin class with our quiz on Chapter 3: Strings, lists and tuples. If you did the exercises in Chapter 3 Exercise Set 1: Introducting Doctest you will be ready for this quiz.

Then we will talk about Python's conditional branching and iteration statements.

Homework

Read Chapter 4: Conditionals, loops and exceptions, running and experimenting with the code examples presented until you feel confident you understand them.

Come to class on Wednesday ready to discuss and apply what you learned from reading the chapter.