CSSE 220 – Object-Oriented Software Development
Homework 10
Objectives
Practice with arrays and ArrayList
s in Java. More practice with loops and debugging in Java. More practice implementing classes based on a given specification.
Tasks
No late days on this homework due to Exam 1
-
Complete the assigned reading for the next session: §8.1–8.4. (See schedule for topics to focus on.) As you read, see if you can answer the self-check questions. If there is something you do not understand, make note of it so you can ask about it.
-
Complete the assessment exercise over this reading on ANGEL (under Lessons → Assignments).
-
Note any questions that you have in preparation for the Exam on Wednesday. Bring them to class for the exam review. I’m also happy to work example problems.
-
Solo Programming:
-
Your programming work for this part must be done in the
TwoDArrays
project inside Eclipse. Use the SVN Repository Exploring
perspective to check out this project, then switch back to the Java
perspective.
-
Complete the
TODO
items in TicTacToe
and TicTacToeTest
. The items are numbered in the order that you should complete them.
-
Pair Programming: Conway’s Game of Life. Note that this part is due at the start of session 13. You'll have time to work with your partner in class during session 11. (Exam 1 is during session 12.)
-
Use the
SVN Repository Exploring
perspective to add a new SVN repository to your Eclipse workspace. This is a shared repository where you’ll work on Game of Life with your partner. The URL for your shared repository is:
http://svn.csse.rose-hulman.edu/repos/csse220-201010-team0n
where n
is your team number as given by your instructor.
-
Your programming work for this part must be done in the
GameOfLife
project inside Eclipse. Use the SVN Repository Exploring
perspective to check out this project from your shared SVN repository, then switch back to the Java
perspective.
-
Note: Now that you’re working with a partner, you can get hard-to-resolve SVN conflicts with your partner’s code. So please remember to do Team → Update for the project
-
when you first start working in Eclipse, and
-
whenever you are about to commit.
If you and your partner always work together doing pair programming, then conflicts should not be a problem. (But be sure to ask for help if you get stuck.)
-
Complete the
TODO
items in GameOfLife
and GameOfLifeTest
. The 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. See p. 333 of Big Java for another example.
-
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.
Turn-in Instructions
Turn in your programming work by committing it to your SVN repositories.