SlideShare ist ein Scribd-Unternehmen logo
1 von 14
•One way to characterize change in a system is to
say that its object change their state in response
to events and to time .
• When you throw a stick a light changes its state
from off to on .
•When you click a remote control a television
changes its state from showing you one
channel to showing you another .
• After an appropriate amount of time , a
washing machine changes its state from Washing
to Rinsing .
•The uml state diagram captures
these kind of changes .It presents the
states an object can be in along with
the transitions between the states
and shows the starting point and
end point of a sequence of state
changes.
•Three frequently used activities are entry(what
happens when the system enters a state)
,exit(what happens when the system leaves the
state ) and what happens while the system is in the
state.
•You can add others as necessary.
Guard condition is something
when its met transition take
place
Here the Screensaving is a guard condition.
State diagram
State diagram

Weitere ähnliche Inhalte

Was ist angesagt?

The describing function
The describing functionThe describing function
The describing function
katamthreveni
 
Fdocuments.in chapter 11-states-state-graphs-and-transition-testing
Fdocuments.in chapter 11-states-state-graphs-and-transition-testingFdocuments.in chapter 11-states-state-graphs-and-transition-testing
Fdocuments.in chapter 11-states-state-graphs-and-transition-testing
Subhash Chintalapudi
 

Was ist angesagt? (20)

State chart diagram
State chart diagramState chart diagram
State chart diagram
 
state modeling In UML
state modeling In UMLstate modeling In UML
state modeling In UML
 
State diagram
State diagramState diagram
State diagram
 
Unit 3(advanced state modeling & interaction meodelling)
Unit  3(advanced state modeling & interaction meodelling)Unit  3(advanced state modeling & interaction meodelling)
Unit 3(advanced state modeling & interaction meodelling)
 
Sequence diagrams
Sequence diagramsSequence diagrams
Sequence diagrams
 
Control statement
Control statementControl statement
Control statement
 
State transition testing-software_testing
State transition testing-software_testingState transition testing-software_testing
State transition testing-software_testing
 
Unit 4 dbms
Unit 4 dbmsUnit 4 dbms
Unit 4 dbms
 
Ooad 3
Ooad 3Ooad 3
Ooad 3
 
Chapter7
Chapter7Chapter7
Chapter7
 
The describing function
The describing functionThe describing function
The describing function
 
solver (1)
solver (1)solver (1)
solver (1)
 
Seq uml
Seq umlSeq uml
Seq uml
 
Ppt
PptPpt
Ppt
 
DBMS - Transactions
DBMS - TransactionsDBMS - Transactions
DBMS - Transactions
 
Fdocuments.in chapter 11-states-state-graphs-and-transition-testing
Fdocuments.in chapter 11-states-state-graphs-and-transition-testingFdocuments.in chapter 11-states-state-graphs-and-transition-testing
Fdocuments.in chapter 11-states-state-graphs-and-transition-testing
 
Ph.D. final defense
Ph.D. final defensePh.D. final defense
Ph.D. final defense
 
Lecture11 use case sequence diagram
Lecture11 use case sequence diagramLecture11 use case sequence diagram
Lecture11 use case sequence diagram
 
Schedule in DBMS
Schedule in DBMSSchedule in DBMS
Schedule in DBMS
 
State Pattern In Flex
State Pattern In FlexState Pattern In Flex
State Pattern In Flex
 

Andere mochten auch

State diagram railway reservation system
State diagram railway reservation systemState diagram railway reservation system
State diagram railway reservation system
muthumeenakshim
 
Class diagram railway reservation system
Class diagram railway reservation systemClass diagram railway reservation system
Class diagram railway reservation system
muthumeenakshim
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
Ian Sommerville
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answer
Mahmoud Bakeer
 
Colloboration diagram railway reservation system
Colloboration diagram railway reservation systemColloboration diagram railway reservation system
Colloboration diagram railway reservation system
muthumeenakshim
 
Sequencediagram railway reservation system
Sequencediagram railway reservation systemSequencediagram railway reservation system
Sequencediagram railway reservation system
muthumeenakshim
 
Dfd example 3_gifts
Dfd example 3_giftsDfd example 3_gifts
Dfd example 3_gifts
madhuhanu
 
Deployment diagram railway reservation system
Deployment diagram railway reservation systemDeployment diagram railway reservation system
Deployment diagram railway reservation system
muthumeenakshim
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
Asraa Batool
 

Andere mochten auch (18)

State diagram railway reservation system
State diagram railway reservation systemState diagram railway reservation system
State diagram railway reservation system
 
Class diagram railway reservation system
Class diagram railway reservation systemClass diagram railway reservation system
Class diagram railway reservation system
 
Activity diagram tutorial
Activity diagram tutorialActivity diagram tutorial
Activity diagram tutorial
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Ch5- Software Engineering 9
Ch5- Software Engineering 9Ch5- Software Engineering 9
Ch5- Software Engineering 9
 
Component and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief OverviewComponent and Deployment Diagram - Brief Overview
Component and Deployment Diagram - Brief Overview
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Example of dfd with answer
Example of dfd with answerExample of dfd with answer
Example of dfd with answer
 
Colloboration diagram railway reservation system
Colloboration diagram railway reservation systemColloboration diagram railway reservation system
Colloboration diagram railway reservation system
 
Sequencediagram railway reservation system
Sequencediagram railway reservation systemSequencediagram railway reservation system
Sequencediagram railway reservation system
 
Data Flow Diagram (Risath)
Data Flow Diagram (Risath)Data Flow Diagram (Risath)
Data Flow Diagram (Risath)
 
Diagrams
DiagramsDiagrams
Diagrams
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
Uml restaurant (group 1)
Uml restaurant (group 1)Uml restaurant (group 1)
Uml restaurant (group 1)
 
Dfd example 3_gifts
Dfd example 3_giftsDfd example 3_gifts
Dfd example 3_gifts
 
Deployment diagram railway reservation system
Deployment diagram railway reservation systemDeployment diagram railway reservation system
Deployment diagram railway reservation system
 
Slide 4 Interaction Diagram
Slide 4 Interaction DiagramSlide 4 Interaction Diagram
Slide 4 Interaction Diagram
 
Uml deployment diagram
Uml deployment diagramUml deployment diagram
Uml deployment diagram
 

Ähnlich wie State diagram

Ähnlich wie State diagram (20)

State Diagram.pdf
State Diagram.pdfState Diagram.pdf
State Diagram.pdf
 
State modeling
State modelingState modeling
State modeling
 
Unit 4- State Machine in mobile programming
Unit 4- State Machine in mobile programmingUnit 4- State Machine in mobile programming
Unit 4- State Machine in mobile programming
 
Software Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagramSoftware Engineering :Behavioral Modelling - II State diagram
Software Engineering :Behavioral Modelling - II State diagram
 
Generation of state diagram from time chart
Generation of state diagram from time chartGeneration of state diagram from time chart
Generation of state diagram from time chart
 
Java
Java   Java
Java
 
Automata Presentation - Construction of a Turnstile
Automata Presentation - Construction of a TurnstileAutomata Presentation - Construction of a Turnstile
Automata Presentation - Construction of a Turnstile
 
CS-1(Ch.1).pdf
CS-1(Ch.1).pdfCS-1(Ch.1).pdf
CS-1(Ch.1).pdf
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Free ebooks download ! Edhole
Free ebooks download ! EdholeFree ebooks download ! Edhole
Free ebooks download ! Edhole
 
Basic requirements of electrical instruments
Basic requirements of electrical instrumentsBasic requirements of electrical instruments
Basic requirements of electrical instruments
 
control systems - time specification domains
control systems - time specification domainscontrol systems - time specification domains
control systems - time specification domains
 
Introduction to vibration monitoring
Introduction to vibration monitoringIntroduction to vibration monitoring
Introduction to vibration monitoring
 
Unit-7 Lecture-1.pptx measuring instruments
Unit-7 Lecture-1.pptx measuring instrumentsUnit-7 Lecture-1.pptx measuring instruments
Unit-7 Lecture-1.pptx measuring instruments
 
Unit-III.pptx
Unit-III.pptxUnit-III.pptx
Unit-III.pptx
 
EMI PPT (UNIT-1)-final 25-2-2023.pdf
EMI PPT (UNIT-1)-final 25-2-2023.pdfEMI PPT (UNIT-1)-final 25-2-2023.pdf
EMI PPT (UNIT-1)-final 25-2-2023.pdf
 
EMI PPT (UNIT-1).pptx
EMI PPT (UNIT-1).pptxEMI PPT (UNIT-1).pptx
EMI PPT (UNIT-1).pptx
 
Ideas for Flood Relief
Ideas for Flood Relief Ideas for Flood Relief
Ideas for Flood Relief
 
IARE_EEI_PPT
IARE_EEI_PPTIARE_EEI_PPT
IARE_EEI_PPT
 
IARE_EEI_PPT.pdf
IARE_EEI_PPT.pdfIARE_EEI_PPT.pdf
IARE_EEI_PPT.pdf
 

Mehr von Hareem Naz

Mehr von Hareem Naz (20)

How to make your wife happy
How to make your wife happyHow to make your wife happy
How to make your wife happy
 
How to make your wife happy
How to make your wife happyHow to make your wife happy
How to make your wife happy
 
How to make your wife happy
How to make your wife happyHow to make your wife happy
How to make your wife happy
 
How to make your wife happy
How to make your wife happyHow to make your wife happy
How to make your wife happy
 
State diagram
State diagramState diagram
State diagram
 
Use case
Use caseUse case
Use case
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message towards success
Message towards successMessage towards success
Message towards success
 
Message
MessageMessage
Message
 
Islamic quotes
Islamic quotesIslamic quotes
Islamic quotes
 
Islam is a peaceful religion
Islam is a peaceful religionIslam is a peaceful religion
Islam is a peaceful religion
 
Message
MessageMessage
Message
 
Islamic quotes
Islamic quotesIslamic quotes
Islamic quotes
 
Islamic quotes
Islamic quotesIslamic quotes
Islamic quotes
 
Islam is a peaceful religion
Islam is a peaceful religionIslam is a peaceful religion
Islam is a peaceful religion
 

Kürzlich hochgeladen

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 

Kürzlich hochgeladen (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

State diagram

  • 1.
  • 2. •One way to characterize change in a system is to say that its object change their state in response to events and to time . • When you throw a stick a light changes its state from off to on . •When you click a remote control a television changes its state from showing you one channel to showing you another . • After an appropriate amount of time , a washing machine changes its state from Washing to Rinsing .
  • 3. •The uml state diagram captures these kind of changes .It presents the states an object can be in along with the transitions between the states and shows the starting point and end point of a sequence of state changes.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8. •Three frequently used activities are entry(what happens when the system enters a state) ,exit(what happens when the system leaves the state ) and what happens while the system is in the state. •You can add others as necessary.
  • 9.
  • 10.
  • 11. Guard condition is something when its met transition take place
  • 12. Here the Screensaving is a guard condition.