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 116 Fall 2009 Assignment 5 Due: Tuesday, October 27, 2009, 3:30pm For this and all subsequent assignments, you are expected to use the design recipe when writing functions from scratch. 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. Do not copy your purpose statement directly from the problem statement - use your own words. Please read the course Web page for more information on assignment policies and how to organize and submit your work. Be sure to download the interface file from the course Web page and to follow all the instruc- tions listed in the style guide (on the Web page). Specifically, your solutions should be placed in files a 5 qY.ss where Y is a value from 1 to 4. This assignment mostly tests your understanding of the material in CS 116 Lecture Module 5, on mutation. All the helper functions should be contained within the main function definitions. For functions which produce ( void ) values, you will need to add “Effects” into the design recipes. For testing, be sure to use begin, set! and other structure field mutators where appropriate. You are not allowed to use the built-in functions length , or reverse , or your own versions of such functions. Please make sure to follow the style guide (posted on the Web page) and use the modified design recipe for functions involving mutations....
View Full Document
This note was uploaded on 10/21/2010 for the course CS 116 taught by Professor T.vasiga during the Fall '09 term at Waterloo.
- Fall '09
- Computer Science