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 > Troublesome ICE Question - Assign Responsibilities ?
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Luigi
Junior Member

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

Troublesome ICE Question - Assign Responsibilities ?

Hi all,

I finally took the ICE test for the last time (I take the real one in two weeks) and scored a 80%. After, reviewing some of the questions I got wrong, I thought I might be missing something where I clearly thought my answer was correct. I'll post these questions individually.

As always, your viewpoint is appreciated!

Here's the second one:

In an OO system, it is desirable to assign responsibilities:

a) according to interaction diagram messaging.

b) more heavily in a few controlling classes.

c) relatively evenly across the classes.

d) to minimize the overhead of message-passing.

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

Answer: A, C. I contend that D would be a more powerful motivation than C by the Protected Variation GRASP pattern. It states on pp. 336 of Larman the principle, "Don't talk to strangers" or "Law of Demeter." This sounds like creedance for option D. Answer C sounds overly general because by Expert, you may certainly have more responsibility in one class over several others. Also, some of the GoF patterns hint to more specialized responsibilities behind facades, adapters, proxies, etc. which would have less detailed responsibility.

Thoughts?

__________________
Lou

Report this post to a moderator | IP: Logged

Old Post 09-16-2002 05:18 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
SZ
Administrator

Registered: Apr 2001
Location: New York
Posts: 492

Luigi, you have some good insights and analysis here but the bottom line is that overhead of message passing is a very far out consideration when designing OO systems; once you have accepted OO as your paradigm you are waiving this overhead as a primary concern.

Report this post to a moderator | IP: Logged

Old Post 09-18-2002 04:34 PM
SZ is offline Click Here to See the Profile for SZ Click here to Send SZ a Private Message Visit SZ's homepage! Find more posts by SZ Add SZ to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 04:18 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.