There are twelve questions for 100 total points. All are from the textbook, A Mathematical Foundation for Computer Science. "Problem 1.1.2", for example, is at the end of Section 1.1 and is labeled "P1.1.2". The number after each problem is its individual point value. Make sure you don't do an Exercise when a Problem is assigned! (Though the Exercises should be good practice and the answers to them are in the back of the book.) Also, be careful of problems with multiple parts that go from one page to the next -- make sure you do the whole problem.
Students are responsible for understanding and following the academic honesty policies indicated on this page.
This homework is divided into two parts, an individual assignment, where each student is responsible for an independent writeup, and a group assignment. Homework groups have been posted on the main web page. Each group of 3-4 people is to hand in one writeup of the group problems -- you should meet together at least once to do the work and each member of the group is responsible for the answers.
string
primitive type, you may use only
primitives defined for string
in Section 4.7, not real Java
methods for the String
class. If you want to use
charAt
, for example, you need to solve part of Problem 4.7.5!
(I'm not necessarily saying this is a good idea.)
Last modified 8 March 2006