IntelliJ Java IDE
The moose likes OO, Patterns, UML and Refactoring and the fly likes Use case in 486 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Reply Bookmark "Use case in 486" Watch "Use case in 486" New topic
Author

Use case in 486

Iftikhar Arain
Ranch Hand

Joined: Jul 17, 2002
Posts: 95
What, if anything, is WRONG with the following analysis use case?
Use case: Sell goods
Description: Accept tender from a customer, package products being purchased, and remove the products from inventory.
Actors: Clerk
Preconditions: Customer has chosen products to buy from inventory.
Postconditions: Products are no longer in inventory. Store cash balance is increased.
Steps:

A. There are design details intermixed with the requirements.

B. The actor's actions and system responses are not separated.

C. "Sell goods" is too broad to be a use case.

D. There is nothing wrong with this use case.

I think the answer D is correct plz correct me if I am wrong and tell me the correct answer.


SCJP,SCWCD,IBM UML,FLEX & AIR,MCAD,MCSD, Adobe ACE
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
I also think D is correct...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
struts
Greenhorn

Joined: Jun 24, 2002
Posts: 1
C. "Sell goods" is too broad to be a use case.
I think "C" is correct. The test is tryinhg to test the real UML work experience. Have u ever used kind of "Sell goods" as the name of a use case ?
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by struts:
C. "Sell goods" is too broad to be a use case.
I think "C" is correct.

Why is it to broad to be a use case? What responsibility of a use case can therefore not be fullfilled?
Iftikhar Arain
Ranch Hand

Joined: Jul 17, 2002
Posts: 95
I also think sell goods is to broad but what about the design details are intermixed with requirements as in the use case description there are some words like " remove items from inventry."
I think this is postcondition and not allowed in use case description or any design detailed in the use case.
plz correct me if I am wrong.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Iftikhar Arain:
I also think sell goods is to broad but

Than perhaps *you* can tell me why?

what about the design details are intermixed with requirements as in the use case description there are some words like " remove items from inventry."
I think this is postcondition and not allowed in use case description or any design detailed in the use case.
[/QB]

I don't think this a design detail, but a business requirement. Inventory here seems to be a business term; there is no hint on how this inventory should be represented in the system, as far as I can tell.
Kishore Sirivelu
Greenhorn

Joined: Jan 22, 2003
Posts: 4
C is right. Sell goods could imply how the sales operation is setup, what kind of a store is used:whether it is like Wal-mart or a street vendor, etc. Here it just describes a transaction in a store. Hence, "Sell goods" is too broad a description for the use case.
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Originally posted by Kishore Sirivelu:
C is right. Sell goods could imply how the sales operation is setup, what kind of a store is used:whether it is like Wal-mart or a street vendor, etc. Here it just describes a transaction in a store. Hence, "Sell goods" is too broad a description for the use case.

I think C refers to the content of the use case, not its name. And the content is in the description. As long as anybody on the team has an idea of what content "sell goods" refers to, the name could be just perfect, IMO.
 
 
subject: Use case in 486
 
Threads others viewed
Something seems wrong in Pre-Assessment/Sample Test for Test 486
UML Questions(Pinpoint the wrong answers)
Longer Post - ALL IBM ICE EXAM Q's for UML
Answers to IBM 486 sample test
Need clarifications on 2 ICE questions
IntelliJ Java IDE