Professional Documents
Culture Documents
2 It314 Uml
2 It314 Uml
DA-IICT
Saurabh Tiwari
What is Modeling?
1
8/24/23
Examples:
• System: Aircraft
• Models: All blueprints, electrical wiring, fuel system, Flight
Controller
2
8/24/23
3
8/24/23
• A model should
– use a standard notation
– be understandable by clients and users
– lead software engineers to have insights about the system
– provide abstraction
4
8/24/23
UML
UML Users
• Architect
• Domain expert
• Designer
• Programmer/Developer
• Instructor
5
8/24/23
History of UML
UML 2.X
6
8/24/23
7
8/24/23
UML vs SysML
SysML Diagrams
8
8/24/23
We will discuss
• Sequence diagram
• Activity Diagram
• Class diagram
• Component/Package Diagram
Use Cases
9
8/24/23
Problem Specification
10
8/24/23
11
8/24/23
12
8/24/23
13
8/24/23
The most basic function of a POS system is to handle sales. When a customer
arrives at a POS counter with goods to purchase, the cashier will start a new
sale transaction. When the barcode of a good is read by the POS system, it
will retrieve the name and price of this good from the backend catalog system
and interact with inventory system to deduce the stock amount of
this good.
When the sale transaction is over, the customer can pay in cash, credit card
or even check. After the payment is successful, a receipt will be printed. Note that
for promotion, the store frequently issue gift
coupons. The customer can use the coupons for a better price when purchasing goods.
Another function of a POS system is to handle returns…. [The details of which are not
given here]
14