ICS 32 Fall 2017
Schedule


In lieu of a course textbook, assigned readings are mainly the Notes and Examples from lecture, which I'll try to keep posted ahead of where we are in lecture at any given time. It is a good idea to skim the assigned reading before the lecture for the main ideas, attend lecture, and then to go through the assigned reading again to fill in the details that you missed, both in your initial skim of the reading and in the lecture.

Date Lecture Topics Readings Project Work
Week 0
Th 9/28
  • Course introduction
  • What are software libraries?
  • The value of abstraction
  • Designing and writing larger programs
Week 1
Tu 10/3
  • Files, revisited
  • Exceptions and exception handling
  • try statements
  • try, except, else, and finally clauses in try statements
W 10/4
  • Lab sections begin meeting today
  • Project #0 due 11:59pm
  • Optionally, choose a partner for Project #1 today
Th 10/5
  • Higher-level file access
  • File systems and related modules in Python's standard library
  • Paths
  • Recursive data structures
  • File systems as a recursive data structure
  • Recursive functions
  • When recursion is — and is not — appropriate in Python
Week 2
Tu 10/10
  • Overview of computer networks (briefly)
  • Network input and output
  • Some necessary background on how the Internet works
  • IP addresses, ports, packets, routers, etc.
  • Sockets
  • A socket's input and output streams
  • Servers and clients
  • Using sockets in Python
  • Bytes vs. strings
  • String encodings (e.g., UTF-8) (briefly)
Th 10/12
  • An example Python socket "echo" client
  • Using "pseudo-file" objects to treat socket input/output as text
  • Revisiting the value of splitting complex functions into shorter, simpler ones
F 10/13
Week 3
M 10/16
  • Optionally, choose a partner for Project #2 today
Tu 10/17
  • Modules and the import statement
  • Network protocols
  • The importance of knowing who and what to trust
  • Public and private functions in a module
  • Implementing a custom text-based protocol in Python
Th 10/19
  • Implementing a custom text-based protocol in Python (continued)
  • Namespaces and name resolution (briefly)
  • More details about import and multiple modules
  • Naming conventions for modules
Week 4
Tu 10/24
Th 10/26
F 10/27
Week 5
Tu 10/31
Th 11/2
  • MIDTERM — regular lecture time and location
Week 6
Tu 11/7
Th 11/9
F 11/10
  • UNIVERSITY HOLIDAY: Veterans' Day — NO LABS TODAY
Week 7
Tu 11/14
Th 11/16
Week 8
Tu 11/21
Th 11/23
  • UNIVERSITY HOLIDAY: Thanksgiving — NO LECTURE TODAY
F 11/24
  • UNIVERSITY HOLIDAY: Thanksgiving — NO LABS TODAY
Week 9
Tu 11/28
Th 11/30
Week 10
Tu 12/5
Th 12/7
Finals Week
Tu 12/12
  • FINAL EXAM: 7:00pm-9:00pm, location to be announced later