CMSC 15100 - Summer 2005

CMSC 15100 Summer 2005

Lectures MWF 01:30 PM - 03:20 PM
Ryerson 251
 
Lab W 04:00 PM - 05:50 PM
Regenstein A01C (the Mac Lab)
lab webpage
 
Office Hours In Hinds 026 (the basement), by appointment. I'm usually around, so just schedule an appointment and then come see me.
 
Grading Exams: two, worth 20% and 30%, respectively
Homework: 45%
In-class exercises: 5%
 
Exams To be announced.
 
Homework Homework is due at the beginning of class. Print it out and hand it in or email it to me before class.
DueExercisesSample Solution
7/20 Read section 32.2 and do 32.2.1, 32.2.2, 32.2.3, 32.2.4, 32.2.5, 32.2.6, 32.2.7, and 32.2.8
Note: you have a week to do this problem, but it is considered very hard by most students in this course so do not delay in starting it.
 
7/13 HtDP 20.1.3, 20.2.4, 21.2.2, 21.2.3
25.2.3, 25.2.4
 
7/8 HtDP 15.1.2
HtDP 19.1.5 and 19.2.4 (noting the definition of a nonempty-list-of-numbers comes with problem 19.2.4; also be sure to give a template for nonempty lists)
 
6/31 HtDP 14.2.3, 14.2.5, 14.2.6
17.1.2
17.6.6
6/29 HtDP read section 12.4 and do exercises 12.4.1 and 12.4.2. Test the arrangements function as well as the helpers.
6/27 HtDP 9.2.3, 9.3.3 (using the definition of lists-of-symbols from section 9.4), 9.5.5, 9.5.6
10.1.7
 
6/24 HtDP 6.1.1, 6.3.1, 6.3.3, 6.4.1, 6.5.1
7.2.1
Develop a function draw-shape that consumes a shape (as defined in class) and produces the image of that shape, ignoring the fact that the shapes we defined in class might be off-center. Show all steps of the design recipe, and use helper functions where they are appropriate.
 
6/22 HtDP 2.3.1, 2.3.2, 2.3.3
3.3.1 (note the hint to reuse functions as much as possible)
4.4.2
(As in every homework, show all the steps of the design recipe for these problems. For notes on using DrScheme, see this DrScheme tutorial, we will also go over DrScheme on Wednesday in lab.
To use images like we talked about in class, you need to load the "image.ss" teachpack into DrScheme: in DrScheme, choose the "Languages" menu, then "Add Teachpack ..." A file chooser window should pop up; choose the "htdp" directory and then "image.ss".)


Jacob Matthews
jacobm at cs.uchicago.edu
Hinds 026