Docsity

Final Exam Questions for Advanced Object Oriented Design Programming | CS 635, Exams of Computer Science

Toggle sidebar
bg1
3/17/05 1 of 5
CS 635 Final Exam
Name
Answer 10 of the following problems. Indicate which problems you wish to have graded by
marking the problems to be graded.
1. In a language with multiple inheritance one does not need the Bridge pattern. True or false.
Explain your answer.
2. The builder pattern uses a director and a builder.
a. What is the role of the director and the builder?
b. Combining the director and the builder into one class would make for a simpler
implementation as one would not have to deal with passing data between the directory and
builder. Why does the pattern use two components instead of one?
pf3
pf4
pf5

Partial preview of the text

Download Final Exam Questions for Advanced Object Oriented Design Programming | CS 635 and more Exams Computer Science in PDF only on Docsity!

CS 635 Final Exam Name Answer 10 of the following problems. Indicate which problems you wish to have graded by marking the problems to be graded.

  1. In a language with multiple inheritance one does not need the Bridge pattern. True or false. Explain your answer.
  2. The builder pattern uses a director and a builder. a. What is the role of the director and the builder? b. Combining the director and the builder into one class would make for a simpler implementation as one would not have to deal with passing data between the directory and builder. Why does the pattern use two components instead of one?
  1. List one pattern (other that the Flyweight) that is often implemented using the Flyweight?
  2. What pattern is suggested to use in implementing the “Sweeping it Under the Rug pattern”?
  3. The interpreter pattern could be considered an application of which pattern?
  4. In what way might the Façade and Mediator patterns be considered similar?
  5. The mediator pattern is often abused in what way?
  1. Explain intrinsic and extrinsic state.
  2. Why does the Big Ball of Mud pattern suggest postponing working on architecture when developing software?
  3. What justification(s) does the Piecemeal Growth pattern given for not using a master design that is produced at the beginning of a project.
  1. What is the role of the Controller in the MVC pattern?
  2. What is the function of an active filter in the Pipes & Filter pattern?
  3. What are some of the benefits of the Broker pattern?