Homework #2

Assigned: September 6
Due: September 15, 2:00pm

  1. (20 points) [LP] Conceptual Exercise 7.4.23
  2. (50 points) [LP] Programming Exercise 7.4.26
    There is a reference executable of a solution for this exercise available at /home/perugini_cps444/share/homeworks/hw2/env1 or you can use the env command on the system as a reference executable.

How to submit

Note: All directory and filenames below are case-sensitive. You must use the directory and filenames exactly as shown below (i.e., all lower case).

Prepare your source code file as /home/<logname>/homeworks/hw2/env1.go, where <logname> is your login name (e.g., FA_15_CPS444_03). Only your source file env1.go will be electronically collected from this location in your Linux account on the deadline.

Failure to follow these submission requirements will result in a 10% penalty.


Ninety percent of your score will come from correctness and 10% of your score will come from following our programming style guide. Applicable submission penalties will then be applied.

Return Home