Which part of a use case description can also be modeled by using an activity diagram?

What are the models that describe use cases in more detail?

  • Use case diagrams
  • Activity diagrams
  • System sequence diagrams

What two UML diagrams are used to model domain classes?

  1. Domain model class diagram
  2. state machine diagram

Which part of a use case description can also be modeled by using an activity diagram?

Explain the difference between a use case and a scenario.  Give a specific example of a use case with a few possible scenarios.

A use case identifies an instance of use that may have multiple variations and the scenario identifies more specifically what the use case identifies.  There are a number of scenarios for a use case involving shipping items.  The scenario in one case may be shipping a new sale item, shipping a replacement for a return item, or shipping a back-ordered item.

List the parts or compartments of a fully developed use case description.

  • Use case name
  • Scenario
  • Triggering event
  • Brief description
  • Actors
  • Related use cases
  • Stakeholders
  • Preconditions
  • Postconditions
  • Flow of activities
  • Exception conditions

Compare/contrast precondition and postcondition.

Both provide critical information about the state of the system before and after the use case executes.  Preconditions identify the state the system must be in to begin where postconditions identify what must be true upon completion of the use case.

Compare/contrast postcondition and exception condition.

Exception conditions identify alternate conditions in the flow of activities that would prevent the use case from meeting postcondition requirements.  Exception conditions must be dealt with in order to meet the postcondition requirements.

Compare/contrast business process and flow of activities for a use case.  Explain how an activity diagram can be used to model both.

Business process deals with what the actor does and this will likely include non-system involved activities.  The flow of activities in a use case tend to focus on the activities involved interacting with the system.

What is the purpose of an SSD?  What symbols are used in an SSD?

It is used to describe the flow of information to and from actors or internal objects in a system.  Stick figures to identify actors, lifelines to identify the complete sequence of transfers, solid message lines to identify inquiries, dashed message lines to identify replies, and rectangles to identify objects and notes.

What are the steps required to develop an SSD?

  1. Identify the input message.
  2. Describe the message from the external actor to the system by using message notation.
  3. Identify and add any special conditions on the input messages, including iteration and true/false conditions.
  4. Identify and add the output return messages.

Write a complete SSD message from the actor to the system, with the actor asking the system to begin the process for updating information about a specific product.

What is the name of the sequence diagram symbol used to represent the object's existence throughout the duration of a use case?

Lifeline or object lifeline

What are the two ways to show a returned value on a sequence diagram?

  1. List all of the information returned
  2. An abbreviated list of information returned

What are two ways to show repetition on a sequence diagram?

  1. A loop frame
  2. True/false condition

What are the three types of frames used on a sequence diagram?

  1. Loop frame
  2. Opt frame
  3. Alt frame

What is the symbol for a true/false condition on a sequence diagram?

Square brackets surrounding the true/false condition

Explain what parameters of a message are.

It is in the verb-noun format.  It describes its purpose and any input data being sent.

List the primary steps for developing an SSD.

  1. Identify the input message.
  2. Describe the message from the external actor to the system by using message notation (verb-noun).
  3. Identify and add any special conditions on the input messages, including iteration and true/false conditions.
  4. Identify and add the output return messages.

What are the words included in the CRUD acronym?

  • Create
  • Read/Report
  • Update
  • Delete

What is the purpose of using the CRUD technique?

It is used to validate use cases which involves verifying that all of the needed use cases have been identified to maintain the data represented by the domain model class diagram.

Identify the models explained in this chapter and their relationship to one another.

This chapter dealt with use case descriptions (brief and fully developed), activity diagrams, and system sequence diagrams.  The models explained in this chapter allow an analyst to completely specify the system functional requirements by modeling details of the use cases.

What is activity diagram in use case?

What is Activity Diagram for Use Case? Activity Diagram for Use Case is an activity diagram that can take the place of the flow of activities section of a use case description per use case. Sometimes, it is created to supplement the use case description. This diagram tells the interaction between the actor and system.

What are the 4 main components of a use case diagram?

UCDs have only 4 major elements: The actors that the system you are describing interacts with, the system itself, the use cases, or services, that the system knows how to perform, and the lines that represent relationships between these elements.

What are the two models that describe use cases in more detail?

What are the models that describe use cases in more detail? Fully developed use case description, activity diagrams, and system sequence diagrams.

Is use case diagram and activity diagram same?

Difference between a Use case diagram and an Activity diagram An activity diagram is used to model the workflow depicting conditions, constraints, sequential and concurrent activities. On the other hand, the purpose of a Use Case is to just depict the functionality i.e. what the system does and not how it is done.