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 > use cases
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
bhaskar
Junior Member

Registered: Jan 2002
Location:
Posts: 14

use cases

Which of the following are TRUE about services resulting from use cases?

a)New requirements in use cases generally result in one or more public methods in a domain model class.
b)Private methods are required by the system's use cases.
c)Use cases drive the design of interaction diagrams, which in turn define public methods in domain model classes.
d)Each alternative scenario of a use case generally results in a new association between classes.

This has two correct answers.
I beleive it's c and d. Any other answers?

Report this post to a moderator | IP: Logged

Old Post 03-19-2002 05:57 PM
bhaskar is offline Click Here to See the Profile for bhaskar Click here to Send bhaskar a Private Message Find more posts by bhaskar Add bhaskar to your buddy list Edit/Delete Message Reply w/Quote
sangeetamu
Junior Member

Registered: Mar 2002
Location:
Posts: 16

a) and b) are false, because as fowler says, use cases are an 'external view' of the system and may not have any direct correlation with the actual classes.
c) seems to be correct, use cases do drive the design.

But again im not sure about d) - each alternative scenario might result in an association, but is it the case always ? The above statement which ive quoted from fowler is the reason for my doubt.

Though,incase u r sure there are two answers to the question, then c) and d) seem like the best options.

Report this post to a moderator | IP: Logged

Old Post 03-22-2002 02:23 AM
sangeetamu is offline Click Here to See the Profile for sangeetamu Click here to Send sangeetamu a Private Message Find more posts by sangeetamu Add sangeetamu to your buddy list Edit/Delete Message Reply w/Quote
garth
Junior Member

Registered: Mar 2002
Location:
Posts: 20

It is true that use cases may not have any direct correlation with actual classes. The word "may" is what needs to be looked at here. Page 75 of larman: "Use-Case realization drives the design. That is, the team designs collaborating objects and subsystems in order to perform or realize the use cases."
I think that "a" is wrong because you are adding methods to the domain model which is not a picture of software classes. Larman page 130. I also think c is wrong for the same reason. That leaves us with b and d by default.

Last edited by garth on 03-22-2002 at 05:18 PM

Report this post to a moderator | IP: Logged

Old Post 03-22-2002 04:33 PM
garth is offline Click Here to See the Profile for garth Click here to Send garth a Private Message Find more posts by garth Add garth to your buddy list Edit/Delete Message Reply w/Quote
garth
Junior Member

Registered: Mar 2002
Location:
Posts: 20

Upon further reflection I think I am wrong.

Fowler on page 18 says: "I use the term domain model to describe any model whose primary subject is the world that the computer system is supporting, whatever stage of the development process you are in."
I am going back to choices "a" and "c". They are clearly the best answers.

Report this post to a moderator | IP: Logged

Old Post 03-24-2002 04:27 PM
garth is offline Click Here to See the Profile for garth Click here to Send garth a Private Message Find more posts by garth Add garth to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 10:03 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.