Comp 170 Schedule: Reading, Written Assignments, Class Activities

Spring 2019

Back to Course Home Page

This schedule is approximate. Some things may well take more or less time than projected here. Still it gives an approximation of how to divide the work up fairly evenly to not get caught being way behind at the end.

Assignments could still be modified or extended, so do not consider assignments official until the day I introduce them in class.

The reading assignments, labeled Text, are listed for class days. Finish the reading before the class so we can concentrate in class on associated questions and written work, where you can get the most help.

The text has little questions with built-in checks and code for you to modify and test, embedded in the content sections. Do those in general as you read. Be logged in, so you can check back for yourself or to show the instructor or TA.

I generally list exercises for the day I want the text read. since most are best done in the process of reading, this makes sense generally. If you cannot complete them by the end of class, do try to be done before the next class.

Explicitly assigned exercises, many from the ending Exercise ans Assessment sections in chapters, are good things to work on in class when you can get easy help. I do not include all the exercises from these final sections in your assignments.

Initial Chapter and section references for Python are in https://runestone.academy/runestone/static/foppluc/index.html.

Later Java book references are to https://runestone.academy/runestone/static/java4python/index.html.

Monday Jan 14
  • Administrative introduction: syllabus, pairs, forming pairs
  • Questions on the text
  • Online assignment, first thing: fill out this form. This form is used by all Comp 170 sections.
Wednesday Jan 16
Friday Jan 18
  • Text: Ch 2:1- 19 BEFORE 1.19.1
  • Exercises: 2.17 1, 2, 6, 10, 13
  • Assessment: 2.18: do, check yourself.

Monday Jan 18 - no class - MLK holiday

Wednesday Jan 23
  • Text: Ch 3:1-8, Ch 4:1-4 (not 4.5 yet), Ch 5:1-12
  • Exercises: 4.5 1,2 (after reading Ch 5 with the for-statement); 5.10: DO 1, SHOW OFF 2, 6; do 5.11; show off 5.12: 1, 2
Friday Jan 25
Monday Jan 28
  • Text: Ch 6:3-11 (not 12), Ch 7:7-15
  • Exercises: chapter 6 and 7 exercises, assessments
Wednesday Jan 30
  • Text: Ch 12:1-12 (for now) - Notes: read the text of 12.4-5 before the initial video in 12.4 (which uses return from 12.5); skip examples for now with if and dictinoary (dict) code. In 12.6 x + y also allows both operands to be tuples; also x and y actually does not require boolean types, but this is beyond this course.
  • Exercises: 12.16: 2, 3, 9, 13, and upgrade the first activecode in 5.12 including a pentagon function, where the pentagon function takes the length of a side as parameter, and call the function three times, putting pentagons of different sizes in different locations on the screen.
Friday Feb 1
  • Text notes for 8.1: The first activecode is a totally silly place to use a decision - where you know the answer! At least it visually makes it a good demo. Skip the second activecode - out of place. Syntax elif introduced later in 8.9.
  • Text: Ch 8:1-14 - notes above; Ch 9:1-8 (for now); my notes, Returning a boolean value.
  • Exercises: 8.13:1-4, 7-8, 11-12; 8.14 assessment
Monday Feb 4
  • Text: Ch 9: 9-16, Ch 14: 1-4, 6-7 (14.5 optional)
  • Exercises: 9.15:1-2, 9.16 assessments, 14.7: 2, 5
  • Download: Before Wednesday class, download PyCharm CE (Community Edition), https://www.jetbrains.com/pycharm/download -- Choose the free community edition, which includes the latest version of Python: 3.7.
Wednesday Feb 6
  • Text: Ch 12:13-17; Ch 10: 1-5,7-8,12-15 (10.6,9-11 optional, skip 10.16-17); note we are skipping all sections in the book on L-systems - 12.18 and later ones.
  • Class: Introduce PyCharm
  • Exercises: 12.16 further Exercises: 1, 5, 8, 10, 11, 14 (do WITHOUT an if-statement!); 14.8:1; 10.14 all; 10.15: 8 (last challenge)
Friday Feb 8
  • Text: Ch 11:1-12 (not 11.13-14), 16:1-2 (16.3 optional), Ch 20:1-5 (for now). Note for 11.4: The first 3 methods refer to "views". That means they actively refer to the dictionary object when they find data. If the dictionary changes, its already assigned views change to refer to the altered dictionary (in regular Python, maybe not in the browser version).
  • Exercises: 11.11:1-3; 16.9: 1 (make result a string), 2, 6; be sure to do the final check with the Animal class in 20.5

Classes online through April 12, except exams 1 and 2

Monday Feb 11
Wednesday Feb 13

Friday Feb 15: Exam 1

Monday Feb 18 - about Mar 29: Java transition

Friday Mar 15: Exam 2

April - Final group project

Classes in Cuneo resume Apr 15.

Friday Apr 26: Final group project presentation

Monday Apr 29: Final Exam 9-11AM


Back to Course Home Page