Week 1: January 26 and 28, 2016.
NOW AVAILABLE !!
Please purchase a copy of the Class Reader from the Engineering Copy Center.
Cost: $55.00.
I have decided to partition the homework into three lavels. You decide what level you fit into -- hand in solutions to four problems.
Absolute Java Novice. i.e., I have never written a Java program before?
Solve Problems: 7.3, 7.4, 7.9 and 7.13 in the class reader.
Java Rusty. i.e., I took a Java class several years ago.
Solve Problems: 7.9, 7.13, 7.17 and 7.20 in the class reader.
Hand in either a document of your homwork that includes input files, output and source code, or, a zip file of the source code for your program along with a document summarizing the source code and samples of output.
Java Knowledgeable. i.e., Yeah, I have written a bunch of Java programs...
Solve the same problems as "Java Rusty" but do it in Python.
Week 5: February 23 and 25, 2016.
The purpose of this assigment is learn how to write programs that use classes and objects -- hand in solutions to four problems, coded in either Java or Python.
Programming in Java.
Solve Problems: 8.1, 8.2, 8.4 and 8.6 in the class reader.
Problem 8.4 refers to the "rainfall analysis program" -- see Problem 7.21
on pages 199--200 of the class reader for details.
Click here to download a copy of Complex.java.
Programming in Python.
Solve Problems: 8.1, 8.2, 8.4 and 8.6 in the class reader, but code your solutions in python and/or jython. For problem 8.4, your jython code should call the java version of DataArray.java and then use PtPlot to create a histogram of rainfall measurements. For problem 8.6, use Python's complex data type -- I assume that the solution will be really short!
Week 6: March 1 and 3, 2016.
Week 7: March 8 and 10, 2016.
This homework will give you some practice at designing and implementing relationships among classes for a program that requires a handful of classes.
Develop a set of Java (or Python) class relationships to refect the structure shown in slide 47. Try to use abstract classes and interfaces where you think that it makes sense.
Note. You do not need to write code for what each method would do -- just provide the method declarations and perhaps a simple print message.
Week 8: March 15 and 17, 2016.
Week 9: March 22 and 24, 2016.
Week 10: March 29 and 31, 2016.
Week 11: April 5 and 7, 2016.
Week 13: April 19 and 21, 2016.
Week 13: April 26 and 28, 2016.
Week 14: May 3 and 5, 2016.
Week 16: May 10, 2016.
Update: The exam will be one question, with parts [1a] through [1p].
It's a bit long so if some people need extra time that will be okay.
Make sure that you look at the final exams from 2012 and 2013, and the chapter on Java Collections.
Project Report , Due: May 16 (no extensions)
Write a 10-15 page report on your project that includes:
Hand in the project report and a zip file of your code.
Last Modified: May 3, 2016.
Copyright © 2016, Institute for Systems Research, University of Maryland.