Old Exam Questions - Special Topics in Computer Science | CS 4501, Exams of Computer Science

Material Type: Exam; Professor: Bloomfield; Class: Special Topics in Computer Science; Subject: Computer Science; University: University of Virginia; Term: Spring 2006;

Typology: Exams

Pre 2010

Uploaded on 03/11/2009

koofers-user-25d
koofers-user-25d 🇺🇸

5

(1)

10 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 494 Exam 1
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 _____/25
Question 2 _____/25
Question 3 _____/25
Question 4 _____/25
Total _____/100
Spring 2006 CS 494 Exam 1 Page 1/6
pf3
pf4
pf5

Partial preview of the text

Download Old Exam Questions - Special Topics in Computer Science | CS 4501 and more Exams Computer Science in PDF only on Docsity!

CS 494 Exam 1

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.