View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007

Sum2002 Midterm Review: What's wrong with this picture?

Edit Sum2002 Midterm Review: What's wrong with this picture? here.



a. Registrar has no knowledge of the student, his transcripts, his department. Moreover, it makes it seem like each student has his own personal registrar: if there exist 400 students, there exist 400 registrars and departments too!
Actually the UML has a link doesn't mean that each student has its own registrar. They can point to the same one.

Also take a closer look at transcript. Barbara Ericson|





b. I think it might be that the dude is replicating the real world instead of modeling it. That is, since there exist shelves in real life, he's creating shelf objects. He's not abstracting out the meat.
Hint: there shouldn't be computer science type objects in your analysis. There should only be real world objects. Barbara Ericson





c. Any ideas what this even asks?

I think the idea here is that using classes just because they exist in Squeak does not necessariy solve the problem at hand or even contribute to it. What if the problem doesn't require Date and Time? In other words, you don't solve problems by trying to find the easiest way out ... instead, you analyze the problem and once you know what the requirements are, you go about trying to find solutions to it. At least I think that's what it's asking ....

-Naila Farooqui (naila@cc)
In analysis you want to stay away from languuage specific things. The domain isn't written in any particular language. Barbara Ericson






d. Obviously there should be a parent class "Employee" with names, ssn's, etc as instance variables. Then there should be 3 subclasses, one for Volunteer, one for HourlyEmployee, one for SalariedEmployee.
Is a volunteer an employee? Barbara Ericson





Link to this Page