CSC 160 Fall 2009 - Homework 2
Assigned Th 9/10, due Th 9/17


Read Chapter 2 of the textbook.

Read this Definition of a Program.

Complete Tutorial 4. (You do not need to do Tutorial 3.)

Do the following exercises on pages 63-64 of the textbook:
  • Exercise 2.3 (45 points)
  • Exercise 2.6 (45 points)
  • Use of correct filenames. (10 points)
  • Extra Credit: Exercise 2.10 (20 points)



  • Submitting your Assignment
  • You must submit one file for each exercise through Moodle.
  • Be sure to include your first and last name as a comment in the first line of each file.
  • For full credit, the file for Exercise 2.3 must be named "hw2[LastName]2.3.a2w" where [LastName] is replaced with your last name. (For example, if I were submitting this assignment, I would name the file "hw2Wittenstein2.3.a2w")
  • Note that you do not type in the .a2w part but it is added in automatically by Alice after you have saved the file.
  • The filenames for Exercises 2.6 and 2.10 should have the same name but the 2.3 is changed to the correct exercise number.



    Last Modified: 9/13/09