Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007
Sp01 Final Exam Review: Whiz-O Toys
See Final Exam Review - Sp2001
Comments? Answers? Criticisms?
"We usually have multiple teams of developers working on different parts of the programs at once. How does object-orientation help us with that?"
- Programming with objects defines natural boundaries for different team members to work on. If you have a good, encapsulated OO design then each object can be implemented on its own by individuals or by smaller teams.
"We rely heavily on simulation when developing sophisticated toys. What would be absolutely perfect would be if we could take parts of our simulation and use it in the code for the real toy. Can we do that? How?"
- You could use an abstract factory design pattern and have a "simulation factory" that has basic functionality but is mostly stub code. Then for your final product you could have a "production factory" that has all of your super-slick stuff with the bells and whistles. This would also make it easier to have different versions of your product (like old furbys and baby furbies).
"What happens if we develop add-ons for a toy, like a new Laser Gun for our Omega Video Game System? Or if we develop a new variation on a toy, like the Phaser Range Finder Gun (which is like the Laser Gun)? Can O-O help our productivity in doing this?"
the Word for WHIZ is
- Yes, good OO can help you. you see, a phazer range finder gun ISA laser gun, so it will share a lot of the functionality of a laser gun. If you use OO then you can take advantage of inheritance to delegate the properties of a laser gun to the laser gun class while providing specific functionality in a subclass. Bryan Kennedy
Link to this Page