CMSI 185
Homework #2
Due: 2009-02-19

Readings: Read Chapters 2 and 3 of David Eck's text. Make sure you read the entire chapters, including material such as quizzes, exercises, and solutions (if any) at the end of each chapter. In addition, go to the ACM TechNews Archive and read the summaries for all of the articles for eight random weeks in 2008 or 2009.

  1. (10 pts) Which three TechNews items did you find the most interesting? (Just give the article title and the week that it appeared in TechNews. You do not have to justify why you thought the summary was interesting.)
  2. (15 pts) Modify the Rot13 program from Homework 1 so that it encodes all text from System.in rather than the command line arguments.
  3. (15 pts) Exercise 2.5 in the text.
  4. (15 pts) Exercise 2.6 in the text.
  5. (15 pts) Exercise 3.2 in the text.
  6. (15 pts) Exercise 3.5 in the text.
  7. (15 pts) Exercise 3.6 in the text.