Homework Assignments

Homework assignments are posted below. There are also links to sample code and prior sample solutions  as well. Students may also make use of any sample solutions or code examples from class without penalty, but to avoid plagiarism must cite the code that was used with a statement in your comments such as: “This program was based on (or makes use of) the name-of-code model of Professor Matthew Dickerson.”  Any time you make use of my code, be sure to understand how it works. And if you change the code change, be sure to update the comments also.

  1. Homework 1, Due (to Prof. Dickerson’s office, MBH 636) by 5pm on Thursday, February 17: HW1.
  2. A PDF file describing HW2 can be found here: HW2. A sample of the in-lab terrain assignment can be found at www.cs.middlebury.edu/~dickerso/terrain.nlogo. An improved version, from class /#6, with better top-down-design and use of procedures, can be found at www.cs.middlebury.edu/~dickerso/terrain2.nlogo See note above.
  3. A PDF file describing HW3 can be found here: HW3.pdf.  A sample solution to HW2 is available at: www.cs.middlebury.edu/~dickerso/land-water.nlogo. See note above.
  4. A PDF file describing HW4 can be found here: HW4.pdf
  5. A PDF file describing HW5 can be found here: HW5
  6. A PDF file describing HW6 (due March 23) can be found here:  HW6. This was also distributed via e-mail, and has not been changed since then.
  7. HW7 was distributed via the class e-mail list.

Term project proposals are due on Friday, April 15, to Prof. Dickerson’s office door. These should approximately one page in length, and should describe what is being modeled, what agents will be involved, and how the behavior of those agents is determined. Two pages of NetLogo code will be due the following week, illustrating the setup of the world, and some basic agent behavior. Students should be prepared to present their project in class on Friday, May 6, with the final code due by the start of class on Monday, May 9.