Ma/CS 21: Programming I (Python 3)

Professor Jessica Kintner

This is the course web page for CS 21, Spring 2020. This is intended to be a first course in computer programming. The course will be in Python 3.

Jessica Kintner's Information:

  • Office: Gal 106-B
  • Office hours: MW 11-12:30, and by appointment
  • email:

Class Information

  • Syllabus
  • Tentative Schedule
  • Google Colab
    You may have to click on something like "Welcome to Colaboratory" or Examples at the top.
  • Jessica's shared google drive for this class.
  • The textbook will be: Python Programming: An Introduction to Computer Science, 3rd ed, by john zelle. Here is the link to the text on Amazon so you can see it. There are many other ways to get a copy. You can rent it, you can buy a used copy. I don't think I've seen an e-version.

Recent announcements:

  • (2/25) If you have your own laptop, working on it will definitely be easier for the graphics parts of the course. I added links below to get you any software you need.


Python itself

  • You can download the basic Python 3 from -- Just hit the "downloads" tab. (This includes IDLE.)
  • If you want to install your own version of jupyter notebook (Colab is google's version of this), follow the instructions here, at (I used conda on my macbook.)

Zelle's graphics stuff


Due to me (by 8am)
Ch 4
HW03 (both parts in one file please!)
Ch 4
Work through all the code examples in Ch 4. You can skip anything with a bar chart (this is section 4.5 and part of 4.6)
Ch 3
Integers, real numbers, bits, and binary
Binary/Decimal Practice
HW03 part 1 Ch 3: DE 6, PE 1, 2 (Please don't submit till after Thurs)
Ch 2
Simple Programs
day02 colab file
HW02 Ch 2: all multiple choice Q'
Disc 4, and PE 9, 5, 10, 11
Your .ipynb file with PE 1.1
Ch 1
Intro and overview
My intro to Colab
Read/Skim Ch 1, be able to answer the multiple choice questions
In Colab, do PE (Programming Exercises) 1, 2, 4 Save the .ipynb file so that you can turn it in. Here is the page from text.