Fundamentals of Computer Science I (CS151 2003F)

Homework 2: A Landlubber-to-Pirate Translator

Assigned: Friday, 19 September 2003
Due: Thursday, 25 September 2003
No extensions!

Summary: In this assignment, you will build a small program that translates from landlubber to pirate.

Purposes: To give you more experience in writing useful Scheme. To give you more experience with strings in Scheme. To expose you to more imporant Scheme procedures.

Collaboration: You should works in groups of two or three. You may alone. You may not work in groups of four. You may discuss the assignment with anyone you wish. You may obtain help from anyone you wish, but you should clearly document that help (perhaps with an extra citations page).

Submitting: Email me your Scheme code.

Warning: So that this exercise is a learning assignment for everyone, I may spend class time publicly critiquing your work.

Assignment

Complete your work from the Pirate lab. In particular, you should write a procedure named piratize that converts phrase (represented as a string) from landlubber to pirate.

Requirements

If you meet these basic requirements and have no errors, you will earn a B on the assignment. To earn a higher grade, you must do something particularly clever.

 

History

Thursday, 18 September 2003 [Samuel A. Rebelsky]

Sunday, 21 September 2003 [Samuel A. Rebelsky]

 

Disclaimer: I usually create these pages on the fly, which means that I rarely proofread them and they may contain bad grammar and incorrect details. It also means that I tend to update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This document was generated by Siteweaver on Tue Dec 9 13:58:50 2003.
The source to the document was last modified on Sun Sep 21 21:31:33 2003.
This document may be found at http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2003F/Homework/hw.02.html.

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky, rebelsky@grinnell.edu