Lab 11

PLEASE NOTE: All lab exercises are due Monday, July 21st by 10:00am.
  1. Download Files
  2. 2D-Arrays of Doubles
  3. 2D-Arrays of Objects
  4. Request Lab Solutions

Download Files

Download the Lab11.zip file and extract the files to your cs125 folder in your home directory. You will use these files to complete this week's lab exercises.

2D-Arrays of Doubles

The file WorkingWithArrays.java, which does not compile, contains comments which indicate the exercises you must complete.

Submit the completed WorkingWithArrays.java here:


2D-Arrays of Objects

This exercise models a very simple British herb garden which contains garden plots of herbs laid out in rows and columns. Each garden plot contains exactly one herb and is tended by exactly one gardener. Pictures of such a garden, Chester's Walled Garden, can be seen here.

The file Garden.java, which does not compile, contains comments which indicate the exercises you must complete. Garden.java makes use of objects defined in Plot.java.

Submit the completed Garden.java here:


Request Lab Solutions

If you request solutions for this lab you will be sent an email that contains your answers as well as the expected answers. The email will be sent out to all interested students once the deadline for completing the exercises has passed for all students.