Course Syllabus

Computer Programming for Lawyers
276.34 sec. 001

TuTh 3:35 PM - 5:25 PM
Location: Law 140
From January 10, 2023
To April 20, 2023

Instructor: Chris Hoofnagle
Berkeley Law Room 341
Zoom links for the course

Office Hours: Wednesdays 11-12 in Berkeley Law 341

Tutoring Sessions: Mondays 11:30-12:30 (Room 129) and 3-4 (Room 112)
Fridays 11-1 (Abie in Room 123)

 

Getting Started in CPL

Before the first class, please complete these items. Note that this course requires attendance on the first day, and there is an assignment due before the first class.

Course Schedule

Course Description | Attendance | Assessment | Collaboration policy | Getting More Help

Class Date Topics/Assignments
OH 5-Jan Special office hours (3-5 PM) for anyone who needs help with Jupyter led by Mathew Cha in his Zoom Room.
OH 9-Jan Special office hours led by Chris (3:15-5 by Zoom). You must participate in this session if your Jupyter environment is not working
Tutoring Mondays Mathew's Tutoring sessions are Mondays, 11:30-12:30 (Room 129) and 3-4 (Room 112), starting on Monday the 16th.
1 10-Jan Week 1: Introduction to Python
    Before first class material e.g. Read Chapters 1, 3, and 4 (skip sections 4.2, 4.3.1, 4.3.2, and 4.4) in Ohm & Frankle
    Complete Problem Set 0. Problem sets are in bCourses > Assignments
2 12-Jan Please attempt PS1 before lab.
Tutoring Fridays Abie's Tutoring sessions are Fridays, 11-1 in Room 123
3 17-Jan Week 2: Conditionals and While-Loops
    PS1 due before class. Submit via bcourses
    Read Chapters 5 and 6 in Ohm & Frankle
4 19-Jan Please attempt PS2 before lab
5 24-Jan Week 3: Lists and Iteration I
    PS2 due before class.
    Please Read Chapters 7, 8, & 9 in Ohm & Frankle
6 26-Jan Please attempt PS3 before lab
  27-Jan Makeup:  Week 4: Lists and Iteration II in Room 140 from 2:30-4:20pm
7 31-Jan No lecture today
    PS3 due before class
    Review chapter 8, read chapter 10.1-10.3 plus the cheatsheet
8 2-Feb Please attempt PS4 before lab
9 7-Feb REVIEW WEEK
10 9-Feb REVIEW WEEK
11 14-Feb Week 5: Datastructures
    Please read Chapter 4.4 (text files), review Chapter 8.4 (lists and text files)
    Please read Chapter 10.4-10.6
 12 16-Feb Lab by Zoom. Please attempt PS5 before lab
17-Feb Makeup Cancelled 
  21-Feb No class this week
  23-Feb No class this week
13 28-Feb Week 6: Functions I
    We're going to have less material this week as part of a catch up and synthesis effort
    PS5 due before class
14 2-Mar Please read Chapter 11.1-11.2.
    Please attempt PS6 before lab
15 7-Mar Week 7: Functions II
    PS6 due before class
    Please review Chapter 11.1-11.2 and read 11.3-end of chapter
16 9-Mar This week we will work our problem set in class.
     
17 14-Mar Week 8: Files and Directories
    Please read Chapter 12
18 16-Mar Please attempt PS8 before lab
19 21-Mar Week 9: Regex
    Please read Chapter 13
20 23-Mar For Problem Set 9, we'd like you to practice your Regex skills using RegexOne. Spend some time on the tutorial (15 lessons) and the problems (9). Don't worry about donating--I've already done so on your behalf :) You need only look over this for lab. But please complete all the lessons and problems by Week 10's lecture.
Spring Break 28-Mar  
Spring Break 30-Mar  
21 4-Apr Week 10: Regex II, PDF, and Excel
    PS9: due (survey)
    Please read Chapters 14 and 15
22 6-Apr Please attempt PS10 before lab
23 11-Apr Week 11: Web Scraping I
    PS10 due before class
    Please read Chapter 16
24 13-Apr Please attempt PS12 before lab (to keep up with numbering, we're not using PS #11)
25 14-Apr Makeup session: lecture only on APIs, room 140 from 2:30-4:20pm
26 18-Apr Week 12: Web Scraping II and JavaScript 101
    PS12 due before class
    Please review Chapter 16; other reading TBD
     
27 20-Apr Please attempt PS 13 before lab
 28  21-April

Makeup lab & special talk by Mathew on NLP

We will work APIs in class. Room 140 from 2:30-4:20pm. Please read Chapter 17

25-Apr PS 13 due