131B
Write useful programs in the object-oriented language Python (SLOs). Use Severance’s “Python for Everybody” and the official documentation. Watch the captioned orientation video. See the course policies. The instructor is Aaron Brick. Our section and CRN are 001/78891 & 003/78893 & 932/78895. More detail will appear below as time passes.
8/17 – 8/23
2642
8/24 – 8/30
2643
Background See Course policies & Video briefing & Instructor’s Notes #1.
8/31 – 9/6
2644
Tools See Kevin Heard’s UNIX Tutorial 1 through 5 & Video briefing & Instructor’s Notes #2. Write a program that does absolutely nothing because it contains only comments, the more exuberant the better due 9/6.
9/7 – 9/13
2645
Interpreter See Video briefing & Instructor’s Notes #3 & Severance 1. Write a program that prints out the name of your representative in the California Assembly & peer review due 9/13.
9/14 – 9/20
2646
Types See Video briefing & Instructor’s Notes #4 & Severance 2. Every state in the U.S. has two senators no matter its population. Write a program to calculate how much more represented in the Senate a resident of Idaho is than a resident of Florida. Make sure to cite the sources of any figures that you use & peer review due 9/20.
9/21 – 9/27
2647
Math See Video briefing & WikiBooks Python Programming’s Basic Math & Instructor’s Notes #5. Write a program to determine what portion of the global population has permanent representation on the United Nations Security Council. Make sure to cite the sources of the numbers you use & peer review due 9/27.
9/28 – 10/4
2648
Conditionals See Video briefing & Instructor’s Notes #6 & Severance 3. Write a program that simulates a throw of two 900-sided dice and indicates whether or not the sum of the results is divisible by three & peer review due 10/4.
10/5 – 10/11
2649
Containers I See Video briefing & Instructor’s Notes #7 & Severance 6, 8, and 10. Write a program that prints out the command line arguments it receives, in reverse order from last to first & peer review due 10/11.
10/12 – 10/18
2650
Containers II See Video briefing & Instructor’s Notes #8 & Severance 9. Write a program that prints out the command line arguments it receives, in alphabetical order and without duplicates & peer review due 10/18.
10/19 – 10/25
2651
Loops See Daw-Ran Liou’s You (Probably) Don’t Need For-Loops & Video briefing & Instructor’s Notes #9. Adapt the previous assignment so that it prints out all the command line arguments, with any duplicated ones shown in all uppercase & peer review due 10/25.
10/26 – 11/1
2652
Exceptions Homework & peer review due 11/1.
11/2 – 11/8
2653
Files Homework & peer review due 11/8.
11/9 – 11/15
2654
Functions Homework & peer review due 11/15.
11/16 – 11/22
2655
Regex Homework & peer review due 11/22.
11/23 – 11/29
2656
Objects Homework & peer review due 11/29.
11/30 – 12/6
2657
Web client Homework & peer review due 12/6.
12/7 – 12/13
2658
Web Service I Peer review due 12/13.