|
Assignment 7
The Assignment
http://learnu.ics.hawaii.edu/~nickles/211_support/labs/decision_tree.htm
Submission
- Email your code to ztomasze@hawaii.edu.
- Include a fully-qualified URL to your working applet online.
Recommendations
You do not need to have your applet learn about animals. You can choose a different universe of discourse: Simpsons characters, plants, disease symptoms, planets and moons, etc. Even if you stick with animals, you don't need to keep the same initial questions.
Grading:
Out of 10 points:
- 1.5 - Compiles.
- 0.5 - Coding Standards
- Since you are working mostly with existing code, you are not required to document. However, you should still format your code properly.
- 2.0 - Robust Interface
- Your applet does not crash or lock-up, even if the user hits the wrong button. You may want to disable certain buttons (such as Enter) when they are not usable.
- 1.0 - Understandable Interface
- Your instructions to the user are intelligible to someone who has no idea what the assignment was.
- 1.0 - Correctly navigates the tree
- Displays the correct questions as "yes" and "no" buttons are pressed.
- 1.0 - Resets cleanly
- When you reach the end of a tree on a yes (that is, the computer correctly guesses the animal), the system starts over again at the top of the tree.
- 3.0 - Correctly adds new knowledge to the tree
- When you reach the end of a tree on a no, the system gets user input and adds a new "animal (question)" and "distinction question" to the tree. Then resets cleanly.
|