Objects by Design Forums Here you can view your subscribed threads, work with private messages and edit your profile and preferences Registration is free! Calendar Find other members Frequently Asked Questions Search Home  
Objects by Design Forums : Powered by vBulletin version 2.3.5 Objects by Design Forums > Main Forums > UML Certification Review Questions > ICE Question: Design for Reuse
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Luigi
Junior Member

Registered: Sep 2002
Location: San Diego, CA
Posts: 26

ICE Question: Design for Reuse

In this question, I thought arguements could be made for A, B, or C, but definitely D. Certainly the Design and GRASP patterns (which Controller comes from) have reuse in mind through low coupling, high cohesion, and protected variation. What makes (a) a stronger answer?

Thanks...

Question
=========================
Which of the following are good practices to use while designing for reuse?

a) Define a persistence framework that provides services for persisting objects.

b) Use design patterns, wherein complete solutions are already defined.

c) Use controller objects to control the flow of processes in the system.

d) Assign responsibilities to classes such that coupling between them remains low.

e) Design classes with low cohesion.

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).

__________________
Lou

Report this post to a moderator | IP: Logged

Old Post 09-23-2002 04:11 AM
Luigi is offline Click Here to See the Profile for Luigi Click here to Send Luigi a Private Message Find more posts by Luigi Add Luigi to your buddy list Edit/Delete Message Reply w/Quote
bparanj
CTO, Zepho Systems

Registered: May 2002
Location: Raleigh, North Carolina
Posts: 277

Both a and d are correct (Select two choices).

Bala

__________________
Sun Certified Developer for the Java 2 Platform
http://uml.zepho.com

Report this post to a moderator | IP: Logged

Old Post 09-23-2002 05:19 PM
bparanj is offline Click Here to See the Profile for bparanj Click here to Send bparanj a Private Message Visit bparanj's homepage! Find more posts by bparanj Add bparanj to your buddy list Edit/Delete Message Reply w/Quote
Luigi
Junior Member

Registered: Sep 2002
Location: San Diego, CA
Posts: 26

Right, (d) is for sure correct, but why A over B or C. Seems a bit ambiguous to me. I neglected to clarify that two answers are required.

__________________
Lou

Report this post to a moderator | IP: Logged

Old Post 09-23-2002 05:54 PM
Luigi is offline Click Here to See the Profile for Luigi Click here to Send Luigi a Private Message Find more posts by Luigi Add Luigi to your buddy list Edit/Delete Message Reply w/Quote
bparanj
CTO, Zepho Systems

Registered: May 2002
Location: Raleigh, North Carolina
Posts: 277

Re: ICE Question: Design for Reuse

quote:
Originally posted by Luigi

Question
=========================
Which of the following are good practices to use while designing for reuse?

a) Define a persistence framework that provides services for persisting objects.

b) Use design patterns, wherein complete solutions are already defined.

c) Use controller objects to control the flow of processes in the system.

Multiple Select - Please select all of the correct answers (this question has 2 correct choices).



b is out because design patterns do not provide complete soultions, it can be applied a million times with each application of the pattern being different than the other. The solution is influenced by the forces, context, trade-offs involved and so on.

Between a and c, I agree it is kind of a close call. The persistence framework provides the maximum amount of re-use because it is independent of the domain in which it can be used.

Choice a provides large-scale re-use because it is a framework, whereas the choice c provides re-use at the class level but not all domain objects can be re-used across different domains.

Bala

__________________
Sun Certified Developer for the Java 2 Platform
http://uml.zepho.com

Report this post to a moderator | IP: Logged

Old Post 09-23-2002 06:15 PM
bparanj is offline Click Here to See the Profile for bparanj Click here to Send bparanj a Private Message Visit bparanj's homepage! Find more posts by bparanj Add bparanj to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 04:31 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

< Contact Us - Objects by Design >

Powered by: vBulletin Version 2.3.5
Copyright ©2000 - 2018, Jelsoft Enterprises Limited.
Copyright 1999-2005, Objects by Design, Inc.