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

Popular posts from this blog

⭐ UNIT – 3 (Easy Notes + PDF References) Wireless LAN • MAC Problems • Hidden/Exposed Terminal • Near/Far • Infrastructure vs Ad-hoc • IEEE 802.11 • Mobile IP • Ad-hoc Routing

UNIT–5 (Simplified & Easy Notes) Software Architecture Documentation

unit 1 (OOSE)