Lab 3
February 5, 2004
Partners
You may work with at most one other person on this assignment.
If you do, you will both receive the same grade.
Part I: Program 1 Evaluation
At the very beginning of the lab period, your lab TA
will collect the Program 1 materials that are due today.
He will then randomly give you someone else's materials
to evaluate. You should do the evaluation in MS-Word.
Answer the following questions and give them to your lab
TA before the lab period ends.
- What are your names?
- Who are the authors of the program that you are
evaluating?
- Install and run the program. Does makeGuess work properly
when there is a mine? A zero? Some other number? (3 points.)
- Look at the code for the makeGuess method. Has it
been properly implemented? Pay special attention to when
there are several adjacent zeros. Explain. (2 points.)
- Can the user place and remove flags from the game? (2 points.)
- Play a complete intermediate game, followed by a complete beginner game,
followed by a complete advanced game. Do the different board
sizes work properly? (3 points.)
- Are appropriate comments (including JavaDoc comments) used
throughout the code? If not, specifically explain what is
lacking. (2 points.)
- What enhancement does this game use? Does the enhancement
work properly? Explain how you tested it. (2 points.)
- Look through the code and find one code-related thing that the authors
of this program did better than you. Explain. (3 points.)
- Look through the code and find one code-related thing that the authors
of this program didn't do as well as you. Explain. (3 points.)
Part II: JRadioButton
Take the lecture code from Wednesday, February 4th and modify
it so that it uses JRadioButtons instead of JButtons.
Before lab ends, demo your working program to either the lab
TA or a consultant. (20 points if working, 10 points if an attempt
was made)
Before You Leave
Please delete any BlueJ projects that you created and empty
the recycle bin. Thank you.