Assignment 10, due Apr 15

Part of the homework for CS:2820, Spring 2016
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

On every assignment, write your name legibly as it appears on your University ID card! Homework is due on paper at the start of lecture on the day indicated. Exceptions will be made only by advance arrangement (excepting "acts of God"). Late work must be turned in to the TA's mailbox (ask the CS receptionist in 14 MLH for help). Never push homework under someone's door!

  1. Background: Look at the modified solution to MP4 that was broken up into multiple source files as a starting point for your solution to MP5.

    a) How many source files do you get when you unpack this shell archive by following the directions given at the head of the text? (The easiest way to do this problem is to simply follow the instructions and then count the number of files you get, but you could also read through the archive and count them in their archived form.) (0.5 points)

    b) If you look at the Javadoc comments in the the new code and compare them to the Javadoc comments in the solution distributed to MP4, you'll see that the volume of commentary has been significantly enlarged. Why is this appropriate? (0.5 points)

  2. Background: Read the assignment for MP5 and explain what methods you can infer must exist inside class SimulationOutput. For each method, the assignment allows you to infer different information. For some, you can infer the method name. For some, you can infer whether the method is static, for some, you can infer whether the method is public or private, and for some, you can infer the parameter list. For each method, give a one sentence description of what it does and then give the items you can infer and briefly state the reason you can infer that. (1.0 point)

  3. Background: The version of ScanSupport.java included in the multi-file source distribution given for MP5 contains marginally decent Javadoc documentation. It is the only file in the distribution that is up to this standard.

    A problem: Give a version of Errors.java that meets this standard. (1.0 points)