• Home
  • Class Materials
  • About CS0931
  • Missive/Syllabus
  • Staff
  • Resources
  • Calendar
  • Student Projects
Assignments

Handin Instructions

For homework assignments (except for the Collaboration Policy and assigned readings), please share your solution with cs0931handinfall2015@gmail.com. We will only accept plain text, Python, or shared Google spreadsheet files. Bring the signed Collaboration Policy to class. Be sure to read the Homework Policy for more detailed information about late handins, extensions, and grades.

HW2-2
Date Topic Class Materials Assignment Due Date Extra Files
Introduction to Computation
Th 9/10
Liberal Media Bias [slides] Missive HW 0-1
HW 1-1
Collaboration Policy
"On the Bias"
T 9/15
Spreadsheets: Assessing the Liberalness of U.S. Senators
T 9/15 Forming a Computational Problem & XML [slides] Senate Vote Data
ACT 1-1
HW1-2

Th 9/17
Th 9/17 Data Collection [slides] ACT 1-1 cont.
HW1-3 T 9/22
T 9/22 Ranking Senators (1/2) [slides] ACT 1-2 [solution] HW 1-4 T 9/29
Th 9/24 Ranking Senators (2/2)[slides] ACT 1-3 [solution] Senate voting similarity chart on NYTimes.com
T 9/29 Discovering Patterns [slides] ACT 1-4 (with starter)
[solution]
Project Example 1
Project Example 2
HW1-5

Th 10/1 www.data.gov
Political Books
Project 1

Project Rubric
(Proposal) T 10/6
(Project) T 10/13
Textual Analysis in Python: Building a Concordance for a Text
Th 10/1 Textual Analysis & Intro to Python [slides] GoogleNgrams
Python 2.7.9
Oz Books
HW 2-1 T 10/6 Python Installation Tutorial
T 10/6 Your First Python Program [slides] ACT 2-1
ACT2-1.py [sol.py]
poem.txt
Example.py
HW 2-2 Th 10/8
Th 10/8 Summary Statistics (1/2) [slides] ACT 2-2
ACT2-2.py [sol.py]
MobyDick.txt
HW 2-3 T 10/13 moby-starter.py
T 10/13 Summary Statistics (2/2) [slides] ACT 2-3
ACT2-3.py [sol.py]
HW2-4 Th 10/15 HW2-4.py
Th 10/15 Vocabulary Size of Moby Dick [slides] ACT 2-4
ACT2-4.py [finished.py]
functionErrors.py
HW 2-4 T 10/20
T 10/20 Python Dictionaries[slides] ACT 2-5
ACT2-5.py [sol.py]
HW 2-5 Th 10/22 HW2-5.py
Th 10/22 Project 2[slides] Text Data Sources
DataImport.py
SCOTUS concordance example
HW 2-6 T 10/27 HW2-7.py
Project 2
Project Rubric
(Proposal)
F 10/30
Example_Skeleton.py
(Project Update)
F 11/6
(Project)
Su 11/15
T 10/27 User Input, Reading Online Data, String Functions [slides] ACT 2-6
ACT2-6.py [sol.py]
HW 2-7 Th 10/29
Th 10/29 Determining Authorship [slides] ACT 2-7
ACT2-7.zip [solution]
HW 2-8 T 11/03
Regex and Other Tools
T 11/3 Regular Expressions [slides] ACT 3-1
ACT3-1.py
poem.txt
regexpal.com
PythonRE
Th 11/5 More Regular Expressions [slides] ACT 3-2
Plain Text Dictionary
Dict. Words
Dict. Word Fetcher
RE Tester
HW3-1 T 11/10 HW3-1.py
casey.txt
T 11/10 Finishing Regular Expressions [slides] ACT 3-2 (cont)
pip.py
Th 11/12 Google Earth [slides] ACT 3-3
Google Earth
CIT.kml
gecoords.py
Find your color
T 11/17 Final Project [slides] Project Example 1
Project Example 2
Project Example 3
Final Project
Project Rubric
(Proposal)
T 11/24
(Project)
W 12/9
Th 11/19 Twitter and While Loops [slides] tw1.py
tw2.py
twcol.py
HW3-2 T 12/1 twparse.py
kmlgen.py
getCoords.py
twcol.py
Putting It All Together
T 11/24 SQL 1 [slides] ACT3.5-1
Th 11/26 No Class (Thanksgiving)
T 12/1 SQL 2 [slides] ACT3.5-2
Th 12/3 Python Odds & Ends [slides]
T 12/8 Project Workshop
Th 12/10 Final Project Presentations