Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
(a) (8) What are two things wrong with this scenario?
The user chooses one function from the tool bar. If that function is to spell-check a document, then spell checking begins. If no spelling errors are found, then a message is popped up. Otherwise, for each word with an error, the user is supplied with a number of possible corrections plus a number of other functions. If the user chooses to replace the word with one of the options, then the word is replaced. If the user chooses to replace the word with an arbitrary word, then the user is invited to type in a new word. If the user chooses to leave the word alone, then spell checking proceeds to the next word. After the user has reviewed every spelling error, a window pops up telling the user that no more spelling errors can be found.
If the function is to save the document, then a window pops up asking the user which file name to save into. If the user just hits the OK button, then the document will be saved into the same file it was saved in the last time, unless it hasn't been saved at all, in which case it will be saved into a default file. If the user types a new name and then hits the OK button, then the document will be saved into the file specified by the user. If the user hits the Cancel button, then the document will not be saved immediately.
Answer Part (a):
- Required two errors. Each error found was 4 points.
- If the student wrote more than two answers but some were incorrect, I took off 2 points for each incorrect answer.
- Generally accepted were answers relating to the layout of the scenarios, any missing actions from the scenarios, etc. The general clause "and other functions" covered scenarios such as "Ignore/Ignore All/Add/Change/Change All/etc." so answers relating to that were not counted as correct. I usually took 3 points off for those types of answers.
(b) 12) Several possible design errors have been discussed in this class. For the following class diagram, name three errors of the kinds that have been discussed in class. (see diagram in pdf file of exam).
Answer Part (b):
- Required three errors. Each error found was 4 points.
- WordProcessor as "God" class.
- Separation of MVC.
- Arrow incorrect from TextLine to Document (reverse it).
- Dictionary not an extension of SpellCheck.
- Using verbs instead of nouns for classnames.
- Some answers were about "Classes should not have only methods or data." I took full credit off for these – classes were originally invented for the purpose of creating complex structures of data. Also, some students argued that the UML was improper, that all accessors/modifiers/types weren't shown. UML isn't exact and simple things like accessors/modifiers aren't necessary at times. I took off 3 or 4 points for those.
Link to this Page
- Software last edited on 4 June 2004 at 10:31 pm by gk7.leo-net.jp