CSSE 220 – Object-Oriented Software Development
Homework 10
Objectives
Practice with arrays and ArrayList
s in Java, in particular, two-dimensional arrays. Review for exam.
Tasks
-
Prepare for exam 1 on Tuesday over the material in chapters 1–7 of Big Java. While preparing for the exam, recall:
- You can ask questions by email to the csse220-staff mailing list.
- The slides for the course are available on-line.
- Sample exams are linked from the course schedule.
- Additional resources that you might find helpful for the test (either preparing for it, or while taking it) include:
- One page summaries: We're making available some one-page summaries of some of the topics we have discussed. These were prepared in a previous term, and we haven't reviewed them, but wanted you to have access in case you find them helpful.
-
Pair Programming:
-
Complete the GameOfLife project that you started in class during session 9. It is due on Thursday. Don’t forget that this is a pair programming exercise.
- Together with your teammate:
- Complete the
TODO
items in GameOfLife
and GameOfLifeTest
. The TODO
items are numbered in the order that you should complete them.
- Try some different initial configurations. The method
getGliderList()
in GameOfLifeMain
generates a list representing the classic glider formation.
- Make sure that:
- Both team members understand all the code the team is turning in.
- All methods are documented.
- All
TODO
items are completed.
- No errors or warnings remain.
Remember, in all your code:
- Write appropriate comments:
- Javadoc comments for public fields and methods.
- Explanations of anything else that is not obvious.
- Give self-documenting variable and method names:
- Use name completion in Eclipse, Ctrl-Space, to keep typing cost low and readability high.
- Use Ctrl-Shift-F in Eclipse to format your code.
- Take care of all auto-generated TODO’s.
- Then delete the TODO comment.
- Correct ALL compiler warnings.
- Quick Fix is your friend!
Here is the grading rubric for this assignment.
Turn-in Instructions
Turn in your pair programming work by committing it to your shared SVN repository.