UML Unit-3 Memory Notes (2 Min Revision)
UML Unit-3 Memory Notes (2 Min Revision)
1. UML
π UML = Draw Software Before Building
Formula:
UML = Visualize + Specify + Construct + Document
Keyword: Modeling Language
2. UML Notations
Remember:
CAOUPI
- C = Class
- A = Actor
- O = Object
- U = Use Case
- P = Package
- I = Interface
π "CAOUPI" = UML Symbols
3. Relationships
Remember:
A-A-C-G-D
- A = Association
- A = Aggregation
- C = Composition
- G = Generalization
- D = Dependency
Memory Trick
Association
= Friend Connection
Teacher ↔ Student
Aggregation
= Weak Has-A
Department ◇ Teacher
π Teacher can live without Department
Composition
= Strong Has-A
House ◆ Room
π No House = No Room
Generalization
= IS-A
Dog IS-A Animal
Dependency
= USES-A
Customer → Payment
4. Stereotypes
Remember:
E-C-B-I
- Entity
- Control
- Boundary
- Interface
Memory Link
Entity → Data
Control → Logic
Boundary → UI
Interface → Contract
5. UML Tools
RP
R = Rational Rose
P = Poseidon
Remember
Rational Rose
= Big Industry Tool
Poseidon
= Java UML Tool
Object Oriented Analysis
6. OOA
Formula
OOA = Objects + Classes + Relationships
Steps
GRICM
- G = Gather Requirements
- R = Relationships
- I = Identify Objects
- C = Classes
- M = Model
7. Conventional vs OO
Conventional
Function Focus
OO
Object Focus
Shortcut
Old Software = Functions
Modern Software = Objects
8. Requirement Analysis
FR + NFR
FR = Functional Requirement
NFR = Non Functional Requirement
Easy Link
Functional
π What system does
- Login
- Register
- Payment
Non Functional
π How well system works
- Security
- Performance
- Reliability
9. Use Case Diagram
Formula
Actor + Function = Use Case Diagram
Example:
Student → Login
Student → Register Course
Student → View Result
Remember
Use Case Diagram = User View
10. Activity Diagram
Formula
Start → Activity → Decision → End
Memory Link
Activity Diagram = Flowchart
ATM Example:
Insert Card
↓
PIN
↓
Validate
↓
Cash
11. Analysis Class Model
EBC Rule
E = Entity
B = Boundary
C = Control
Remember
Entity = Data
(Student, Course)
Boundary = Screen
(Login Page)
Control = Logic
(Registration Controller)
Ultra Short Revision (30 Seconds)
✅ UML = Modeling Language
✅ CAOUPI = UML Notations
✅ AACGD = Relationships
✅ Aggregation = Weak Has-A
✅ Composition = Strong Has-A
✅ Generalization = IS-A
✅ Dependency = USES-A
✅ ECBI = Stereotypes
✅ RP = Rational Rose + Poseidon
✅ OOA = Objects + Classes + Relationships
✅ FR = What System Does
✅ NFR = Quality
✅ Use Case = Actor + Function
✅ Activity Diagram = Flowchart
✅ EBC = Entity + Boundary + Control
π₯ Bas "CAOUPI → AACGD → ECBI → RP → FR/NFR → EBC" yaad kar lo, pura Unit-3 dimaag me aa jayega.
Comments
Post a Comment