
- •What is the uml?
- •2. What are ways of using uml
- •Describe uml diagrams.
- •4. How to fit the uml into development process?
- •Notes and comments, constraint rules, keywords on uml diagrams: definitions, description, examples.
- •6. Main elements of class diagram: definitions, description, examples.
- •7. Attributes and operations on class diagram: definitions,
- •Visibility name (parameter-list) : return-type {property-string}
- •8. Relationships between classes: definitions, description, examples.
- •9. Interfaces and abstract classes on class diagram:
- •10. Main elements of sequence diagram: definitions, description, examples.
- •11. Creating and deleting participants, synchronous and asynchronous calls on sequence diagram: definitions, description, examples.
- •12. Loops and conditionals on sequence diagram: definitions, description, examples.
- •13. Main elements of object diagram: definitions, description, examples.
- •14. Main elements of package diagram: definitions, description, examples.
- •15. How to show aspects on package diagram: definition, description, example.
- •16. Main elements of deployment diagram: definitions, description, examples.
- •17. Main elements of use case diagram: definitions, description, examples.
- •18. Levels of use cases on use case diagram: definitions, description, examples.
- •19. Relationships between use cases: definitions, description, examples.
- •20. Main elements of state machine diagram: definitions, description, examples.
- •21. Internal activities, activity states, superstates, concurrent states: definitions, description, examples.
- •22. Main elements of activity diagram: definitions, des, examples.
- •23. Decomposing an action on activity diagram: definition, description, example.
- •24. Partitions, expansion regions, flow final, join specifications: definitions, description, examples
- •25. Main elements of communication diagram: definitions, description, examples.
- •26. Composite structures: definition, description, example.
- •27. Main elements of component diagram: definitions, description, examples.
- •28. Collaborations: definition, description, example.
- •29. Main elements of interaction overview diagram: definitions, description, examples.
- •30. Main elements of timing diagram: definitions, description, examples.
- •Uml: Exam questions
- •What is the uml?
17. Main elements of use case diagram: definitions, description, examples.
Def: A use case diagram at its simplest is a representation of a user's interaction with the system and depicting the specifications of a use case. A use case diagram can portray the different types of users of a system and the various ways that they interact with the system.
Desc: Use case diagram lets you model system functions (i.e. goals) as well as the actors that interaction with those functions. Main elements:
Actor: is a role that user plays with respect to the system. The different roles the actor represents are actual business roles of the users in a system. While modeling, it is up to the you to consider what actors make an impact on the functionality that you want to model. If the entity does not affect a certain piece of functionality that you are modeling, it makes no sense to represent it as an actor. An actor is shown as a stick figure in use case diagram depicted “outside” the system boundary
Use case: is a set of scenarios tied together by a common user goal. It Represents the actions performed by one or more actors in the pursuit of a particular goal. A use case is a kind of type.
System boundary: A system boundary defines the scope of what a system will be. A system cannot have infinite functionality. So, it follows that use cases also need to have definitive limits defined. A system boundary of a use case diagram defines the limits of the system. The system boundary is shown as a rectangle spanning all the use cases in the system.
An association is a connection between an actor and a use case. An association indicates that an actor can carry out a use case.
Use cases share different kinds of relationships:
- Include: When a use case is depicted as using the functionality of another use case in a diagram, this relationship between the use cases is named as an include relationship.
- Extend: In an extend relationship between two use cases, the child use case adds to the existing functionality and characteristics of the parent use case.
- Generalizations: A generalization relationship is also a parent-child relationship between use cases.
Ex:
18. Levels of use cases on use case diagram: definitions, description, examples.
Def: Use cases exist at different levels of granularity. Alistair Cockburn, leading authority on use cases, describes five levels of granularity, known as Cloud level, Kite level, Sea level, Fish level and Clam level.
Desc:
At Cloud Level a use case represents ways of getting to goals, that are highly summarised, such as as ‘make money’. These use cases don’t neccessarily have do with implementation (or software development) and are usually the topic of discussion at management meetings. Ex:
Kite Level
Then we have Kite Level, which is still mostly concerned with summary goals, but slightly more detailed. Kite-level use cases show how the sea-level use cases fit into wider business interactions. Kite-level use cases are usually business use cases, whereas sea and fish levels are system use cases. You should have most of your use cases at the sea level. Ex:
At Sea Level one deals with users and how their goals are achieved. The core use cases are at “sea level.” Sea-level use cases typically represent a discrete interaction between a primary actor and the system. Such use cases will deliver something of value to the primary actor and usually take from a couple of minutes to half an hour for the primary actor to complete.
Fish Level
:WE take a peak at the level, which is concerned with the implementation of the system, underlying the diagram at sea level/ Use cases that are there only because they are included by sea-level use cases are fish level.
At Clam Level we get into the nitty-gritty details.