



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Exam; Professor: Bloomfield; Class: Special Topics in Computer Science; Subject: Computer Science; University: University of Virginia; Term: Spring 2006;
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Spring 2006 Name: ________________________________ E-mail ID: ___________ There are four questions on this exam, and each one is worth the same amount (25 points). Please pace yourself accordingly! It's expected that the first question will take 20 minutes, and the remaining three will take 10 minutes each. Your mileage may vary, of course. Question 1 _____/ Question 2 _____/ Question 3 _____/ Question 4 _____/ Total _____/
Question 1 (25 points): For 10 of the 12 design patterns that we have studied, give a BREIF description of each. This means you can leave two patterns out. If you answer all 12, I'll count the highest 10. The description should include what problem the design pattern solves and/or how it manages to solve it. Ideally, each design pattern's description should not exceed 30 words (we won't take off points if you go over, but if you write an entire essay, you won't get credit). Iterator Observer Singleton Mediator Facade Memento
Question 2 (25 points): List each of the five principles of OO design that we have studied, and briefly describe each (again, ideally no more than 20 words for each description). Note that these are not the GRASP patterns that were studied last week.
Question 3 (25 points): Consider the four types of multiple inheritance: non-repeated, repeated/replicated, shared, and mix-in. Briefly describe each, and note how it is different than the others. In particular, you need to explain the difference between repeated/replicated and shared.