This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CS 135 Fall 2008 Byron Weber Becker, Ian Goldberg, Brad Lushman, Daniel Roche, Troy Vasiga Assignment 2 Due Wednesday, September 24, 10:30am Files to submit: voice.ss , mm.ss , election.ss , grades.ss For this and all subsequent assignments you are expected to use the design recipe as discussed in class when you are writing functions from scratch. You should use check-expect for both examples and testing (see http://www.student.cs.uwaterloo.ca/ cs135/assns/examples. pdf ). Note that this is a new feature in DrScheme and the course notes have not yet been completely updated to reflect it. Your mark will be based on correctness (does it produce the correct answer for all valid inputs?) and style (indentation, use of helper functions, use of constants, meaningful names, etc.). It is very important that the names and parameters to your functions match ours. Use the public tests to be sure. The names of the functions will be given exactly. The names of the parameters is up to you. The order and meaning of parameters is carefully specified in each problem. For this and all subsequent assignments the solutions you submit must be entirely your own work. Do not look up either full or partial solutions on the Internet or in printed sources. Please read the course Web page for more information on assignment policies and how to submit your work. Make sure to follow the style guide (available on the Web page or in the printed presentation handouts package) when preparing your submissions. Language level : Beginning Student. Warmup exercises : 4.1.1, 4.1.2, 4.3.1, 4.3.2 from HtDP. Practice exercises : 4.4.1, 4.4.3, 5.1.5 from HtDP. Here are the assignment questions you need to submit. Questions 1 and 2 require the image teachpack, which you can Add from the Language menu in DrScheme (click image.ss in the Prein- stalled Teachpacks list and then click OK ). You will need to read the documentation which is available at: http://docs.plt-scheme.org/teachpack/image.html . Pay particular attention to creating basic shapes, composing shapes, and pin-holes. You need not use check-expect on these two programs or provide tests.two programs or provide tests....
View Full Document
This note was uploaded on 10/21/2010 for the course CS 135 taught by Professor Vasiga during the Fall '07 term at Waterloo.
- Fall '07