22.05.2017 Views

BIS 261 DeVry All Week iLab

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Based on your answers to the questions in Step 1, use Microsoft Visio to draw a UML use case diagram for the Acme<br />

vending machine system. To do so:<br />

1. Log in to the Citrix <strong>iLab</strong>. (For help with logging in, see the <strong>iLab</strong> page under Course Home.)<br />

2. Open the Microsoft Office Applications folder and, from within that folder, launch Microsoft Visio.<br />

3. Under Template Categories, select Software and Database. Under Featured Templates, select the UML<br />

Model Diagram template. Click the Create button. .equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-<br />

d1b272ff2a8b/1/images--w6_ilab_01.gif"><br />

4. Using the drop-down list in the toolbar, set the zoom level to 100%.<br />

5. In the Shapes toolbox, click the UML Use Case heading to expand it.<br />

6. Drag a system boundary rectangle from the Shapes toolbox and drop it in the approximate center of the<br />

diagram. While the system boundary rectangle is still selected, type Vending Machine" as the name of the<br />

system and click outside of the rectangle.<br />

7. For each actor that you identified in Step 1, drag an actor shape from the Shapes toolbox onto the diagram.<br />

After dropping each actor onto the diagram, type the name of the actor. The name will be displayed under the<br />

actor symbol. Position the actors outside of the system boundary rectangle.<br />

8. For each use case that you identified in Step 1, drag a use case shape from the Shapes toolbox and drop it<br />

on the diagram inside of the system boundary rectangle. To name each use case, right-click on the use case<br />

symbol and select Properties, as shown:<br />

.equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-d1b272ff2a8b/1/images--w6_ilab_02.gif"><br />

In the UML Use Case Properties dialog, enter the name of the use case in the Name box and click OK.<br />

.equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-d1b272ff2a8b/1/images--w6_ilab_03.gif"><br />

The use case name will be displayed inside of the use case oval.<br />

1. For each interaction between an actor and a use case, drag a Communicates line from the Shapes toolbox<br />

onto the diagram. Drag one endpoint of the Communicates line onto the actor, dropping it when you see a red<br />

outline appear around the actor symbol, as shown: .equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-<br />

d1b272ff2a8b/1/images--w6_ilab_04.gif"><br />

The red outline appears when Visio has attached the endpoint to the symbol. Drag the other endpoint of the<br />

Communicates line onto the use case, dropping it when you see a red outline appear around the use case symbol.<br />

1. To remove the unnecessary -End1 and -End2 labels, right-click on the Communicates line and select Shape<br />

Display Options, as shown:<br />

.equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-d1b272ff2a8b/1/images--w6_ilab_05.gif"><br />

In the UML Shape Display Options dialog, under Suppress, check the boxes for First end and Second end. Also, near<br />

the bottom of the dialog, check the box labeled Apply to subsequently dropped UML shapes . . . , as shown:<br />

.equella.ecollege.com/file/5e651ec8-89f7-44f0-95d4-d1b272ff2a8b/1/images--w6_ilab_06.gif"><br />

Click OK to close the dialog.<br />

1. If any use case on your diagram is included as a common subroutine of other use cases, drag a Uses arrow<br />

from the Shapes toolbox and drop it onto the diagram. Connect the arrowhead endpoint of the Uses arrow to<br />

the use case that is the common subroutine. Connect the other endpoint of the Uses arrow to the use case<br />

that uses the common subroutine.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!