SlideShare a Scribd company logo
1 of 24
Download to read offline
CST 205 - Object Oriented Programming Using Java
Prof. Sarju S
17 August 2020
Page 2 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Approaches to Software Design - Functional Oriented Design, Object
Oriented Design, Case Study of Automated Fire Alarm System.
► Object Modeling Using Unified Modeling Language (UML) – Basic Object
Oriented concepts, UML diagrams, Use case model, Class diagram,
Interaction diagram, Activity diagram, State chart diagram.
► Introduction to Java - Java programming Environment and Runtime
Environment, Development Platforms -Standard, Enterprise. Java Virtual
Machine (JVM), Java compiler, Bytecode, Java applet, Java Buzzwords,
Java program structure, Comments, Garbage Collection, Lexical Issues.
Page 3
Page 4 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► A standardized modeling language consisting of an integrated set of
diagrams,
► developed to help system and software developers for specifying,
visualizing, constructing, and documenting the artifacts of software
systems
► as well as for business modeling and other non-software systems.
Page 5 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► The first thing to notice about the UML is that there are a lot of different
diagrams (models) to get used to.
► The reason for this is that it is possible to look at a system from many
different viewpoints.
► A software development will have many stakeholders playing a part
► Analysts
► Designers
► Coders
► Testers
► Quality Assurance
► The Customer
► Technical Authors
Page 6 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://cdn-images.visual-paradigm.com/guide/uml/learn-the-14-uml-diagram-types/01-uml-diagram-types.png
Page 7
Page 8 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► A UML use case diagram is the primary form of system/software
requirements for a new software program underdeveloped.
► Use cases specify the expected behavior (what), and not the exact
method of making it happen (how).
► Use cases once specified can be denoted both textual and visual
representation (i.e. use case diagram).
► A key concept of use case modeling is that it helps us design a system
from the end user's perspective.
► It is an effective technique for communicating system behavior in the
user's terms by specifying all externally visible system behavior.
Page 9 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► It only summarizes some of the relationships between use cases,
actors, and systems.
► It does not show the order in which steps are performed to achieve the
goals of each use case.
Page 10 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► These days use case modeling is often associated with UML, although it
has been introduced before UML existed. Its brief history is as follow:
► In 1986, Ivar Jacobson first formulated textual and visual modeling techniques for
specifying use cases.
► In 1992 his co-authored book Object-Oriented Software Engineering - A Use Case
Driven Approach helped to popularize the technique for capturing functional
requirements, especially in software development.
Page 11 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Use case diagrams are typically developed in the early stage of
development
► Specify the context of a system
► Capture the requirements of a system
► Validate a systems architecture
► Drive implementation and generate test cases
► Developed by analysts together with domain experts
Page 12 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://cdn-images.visual-paradigm.com/guide/uml/what-is-use-case-diagram/02-use-case-diagram-annotated.png
Page 13 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Actor
► Someone interacts with use case (system function).
► Named by noun.
► Actor plays a role in the business
► Similar to the concept of user, but a user can play different roles
► For example:
► A prof. can be instructor and also researcher
► plays 2 roles with two systems
► Actor triggers use case(s).
► Actor has a responsibility toward the system (inputs), and Actor
has expectations from the system (outputs).
Page 14 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Use Case
► System function (process - automated or manual)
► Named by verb + Noun (or Noun Phrase).
► Each Actor must be linked to a use case, while some use cases
may not be linked to actors. Use Case
Page 15 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Communication Link
► The participation of an actor in a use case is shown by connecting
an actor to a use case by a solid link.
► Actors may be connected to use cases by associations, indicating
that the actor and the use case communicate with one another
using messages.
Page 16 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Boundary of system
► The system boundary is potentially the entire system as defined
in the requirements document.
► For large and complex systems, each module may be the system
boundary.
► For example, for an ERP system for an organization, each of the
modules such as personnel, payroll, accounting, etc.
System
Page 17 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► There can be 5 relationship types in a use case diagram.
► Association between actor and use case
► Generalization of an actor
► Extend between two use cases
► Include between two use cases
► Generalization of a use case
Page 18 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► An actor must be associated with at least
one use case.
► An actor can be associated with multiple use
cases.
► Multiple actors can be associated with a
single use case.
Source: https://creately.com
Page 19 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Generalization of an actor means that one
actor can inherit the role of the other actor.
► The descendant inherits all the use cases of
the ancestor.
► The descendant has one or more use cases
that are specific to that role.
Source: https://creately.com
Page 20 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► The extending use case is dependent on
the extended (base) use case.
► The extending use case is usually
optional and can be triggered
conditionally.
► The extended (base) use case must be
meaningful on its own.
Source: https://creately.com
Page 21 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
► Include relationship show that the
behaviour of the included use case is
part of the including (base) use case.
► The main reason for this is to reuse the
common actions across multiple use
cases.
► In some situations, this is done to
simplify complex behaviours.
► The base use case is incomplete without the
included use case.
► The included use case is mandatory and not
optional. Source: https://creately.com
Page 22 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://www.uml-diagrams.org
Page 23 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai
Source: https://www.uml-diagrams.org
Page 24
Thank You
Prof. Sarju S
Department of Computer Science and Engineering
St. Joseph’s College of Engineering and Technology, Palai
sarju.s@sjcetpalai.ac.in

More Related Content

Similar to Module 1 uml - usecase digram

01. Birta L. G., Arbez G. - Modelling and Simulation_ (2007).pdf
01. Birta L. G., Arbez G. - Modelling and Simulation_  (2007).pdf01. Birta L. G., Arbez G. - Modelling and Simulation_  (2007).pdf
01. Birta L. G., Arbez G. - Modelling and Simulation_ (2007).pdfAftaZani1
 
Jakub Setfaniak: Write your own CTA scenario
Jakub Setfaniak: Write your own CTA scenarioJakub Setfaniak: Write your own CTA scenario
Jakub Setfaniak: Write your own CTA scenarioJohann Furmann
 
AGADUC Towards A More Precise Presentation Of Functional Requirement In Use ...
AGADUC  Towards A More Precise Presentation Of Functional Requirement In Use ...AGADUC  Towards A More Precise Presentation Of Functional Requirement In Use ...
AGADUC Towards A More Precise Presentation Of Functional Requirement In Use ...Kelly Lipiec
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case DiagramAshesh R
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Dr Sukhpal Singh Gill
 
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docx
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docxPhase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docx
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docxrandymartin91030
 
Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Alexander Decker
 
Report on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic SystemsReport on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic SystemsYomna Mahmoud Ibrahim Hassan
 
E0312020029
E0312020029E0312020029
E0312020029inventy
 
Documentaries use for the design of learning activities
Documentaries use for the design of learning activitiesDocumentaries use for the design of learning activities
Documentaries use for the design of learning activitiesIOSR Journals
 
Software architecture
Software architectureSoftware architecture
Software architecturenazn
 
Adaptive guidance model based similarity for software process development pro...
Adaptive guidance model based similarity for software process development pro...Adaptive guidance model based similarity for software process development pro...
Adaptive guidance model based similarity for software process development pro...ijseajournal
 
Software_Archi-1.ppt
Software_Archi-1.pptSoftware_Archi-1.ppt
Software_Archi-1.pptFaizaZulkifal
 
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMS
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMSHYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMS
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMSIAEME Publication
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented AnalysisPramod Parajuli
 

Similar to Module 1 uml - usecase digram (20)

01. Birta L. G., Arbez G. - Modelling and Simulation_ (2007).pdf
01. Birta L. G., Arbez G. - Modelling and Simulation_  (2007).pdf01. Birta L. G., Arbez G. - Modelling and Simulation_  (2007).pdf
01. Birta L. G., Arbez G. - Modelling and Simulation_ (2007).pdf
 
Jakub Setfaniak: Write your own CTA scenario
Jakub Setfaniak: Write your own CTA scenarioJakub Setfaniak: Write your own CTA scenario
Jakub Setfaniak: Write your own CTA scenario
 
UseCase Model.pptx
UseCase Model.pptxUseCase Model.pptx
UseCase Model.pptx
 
AGADUC Towards A More Precise Presentation Of Functional Requirement In Use ...
AGADUC  Towards A More Precise Presentation Of Functional Requirement In Use ...AGADUC  Towards A More Precise Presentation Of Functional Requirement In Use ...
AGADUC Towards A More Precise Presentation Of Functional Requirement In Use ...
 
BasicUseCases 02.ppt
BasicUseCases 02.pptBasicUseCases 02.ppt
BasicUseCases 02.ppt
 
Use Case Diagram
Use Case DiagramUse Case Diagram
Use Case Diagram
 
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
Workshop on Basics of Software Engineering (DFD, UML and Project Culture)
 
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docx
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docxPhase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docx
Phase 2 - Task 1Task TypeDiscussion BoardDeliverable Length.docx
 
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
24 Reasons Why Variability Models Are Not Yet Universal (24RWVMANYU)
 
GPSS interactive learning environment
GPSS interactive learning environmentGPSS interactive learning environment
GPSS interactive learning environment
 
Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...Finding new framework for resolving problems in various dimensions by the use...
Finding new framework for resolving problems in various dimensions by the use...
 
Report on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic SystemsReport on Knowledge Modeling in Various applications in Traffic Systems
Report on Knowledge Modeling in Various applications in Traffic Systems
 
E0312020029
E0312020029E0312020029
E0312020029
 
Documentaries use for the design of learning activities
Documentaries use for the design of learning activitiesDocumentaries use for the design of learning activities
Documentaries use for the design of learning activities
 
Lq3620002008
Lq3620002008Lq3620002008
Lq3620002008
 
Software architecture
Software architectureSoftware architecture
Software architecture
 
Adaptive guidance model based similarity for software process development pro...
Adaptive guidance model based similarity for software process development pro...Adaptive guidance model based similarity for software process development pro...
Adaptive guidance model based similarity for software process development pro...
 
Software_Archi-1.ppt
Software_Archi-1.pptSoftware_Archi-1.ppt
Software_Archi-1.ppt
 
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMS
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMSHYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMS
HYBRID APPROACH TO DESIGN OF STORAGE ATTACHED NETWORK SIMULATION SYSTEMS
 
Object Oriented Analysis
Object Oriented AnalysisObject Oriented Analysis
Object Oriented Analysis
 

More from ktuonlinenotes

More from ktuonlinenotes (10)

Oop suplemnertary september 2019
Oop suplemnertary september  2019Oop suplemnertary september  2019
Oop suplemnertary september 2019
 
Oop sample ktu
Oop sample ktuOop sample ktu
Oop sample ktu
 
Oop r&s may 2019
Oop r&s may 2019Oop r&s may 2019
Oop r&s may 2019
 
Oop r&s may 2019 (2)
Oop r&s may 2019 (2)Oop r&s may 2019 (2)
Oop r&s may 2019 (2)
 
Oop july 2017
Oop july 2017Oop july 2017
Oop july 2017
 
Oop december 2018
Oop december 2018Oop december 2018
Oop december 2018
 
Oop april 2018
Oop april 2018Oop april 2018
Oop april 2018
 
Lecture 4-oop class diagram
Lecture 4-oop class diagramLecture 4-oop class diagram
Lecture 4-oop class diagram
 
Lecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oopLecture1 cst205 cst281-oop
Lecture1 cst205 cst281-oop
 
Lecture 2 cst 205-281 oop
Lecture 2   cst 205-281 oopLecture 2   cst 205-281 oop
Lecture 2 cst 205-281 oop
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 

Module 1 uml - usecase digram

  • 1. CST 205 - Object Oriented Programming Using Java Prof. Sarju S 17 August 2020
  • 2. Page 2 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Approaches to Software Design - Functional Oriented Design, Object Oriented Design, Case Study of Automated Fire Alarm System. ► Object Modeling Using Unified Modeling Language (UML) – Basic Object Oriented concepts, UML diagrams, Use case model, Class diagram, Interaction diagram, Activity diagram, State chart diagram. ► Introduction to Java - Java programming Environment and Runtime Environment, Development Platforms -Standard, Enterprise. Java Virtual Machine (JVM), Java compiler, Bytecode, Java applet, Java Buzzwords, Java program structure, Comments, Garbage Collection, Lexical Issues.
  • 4. Page 4 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► A standardized modeling language consisting of an integrated set of diagrams, ► developed to help system and software developers for specifying, visualizing, constructing, and documenting the artifacts of software systems ► as well as for business modeling and other non-software systems.
  • 5. Page 5 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► The first thing to notice about the UML is that there are a lot of different diagrams (models) to get used to. ► The reason for this is that it is possible to look at a system from many different viewpoints. ► A software development will have many stakeholders playing a part ► Analysts ► Designers ► Coders ► Testers ► Quality Assurance ► The Customer ► Technical Authors
  • 6. Page 6 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai Source: https://cdn-images.visual-paradigm.com/guide/uml/learn-the-14-uml-diagram-types/01-uml-diagram-types.png
  • 8. Page 8 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► A UML use case diagram is the primary form of system/software requirements for a new software program underdeveloped. ► Use cases specify the expected behavior (what), and not the exact method of making it happen (how). ► Use cases once specified can be denoted both textual and visual representation (i.e. use case diagram). ► A key concept of use case modeling is that it helps us design a system from the end user's perspective. ► It is an effective technique for communicating system behavior in the user's terms by specifying all externally visible system behavior.
  • 9. Page 9 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► It only summarizes some of the relationships between use cases, actors, and systems. ► It does not show the order in which steps are performed to achieve the goals of each use case.
  • 10. Page 10 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► These days use case modeling is often associated with UML, although it has been introduced before UML existed. Its brief history is as follow: ► In 1986, Ivar Jacobson first formulated textual and visual modeling techniques for specifying use cases. ► In 1992 his co-authored book Object-Oriented Software Engineering - A Use Case Driven Approach helped to popularize the technique for capturing functional requirements, especially in software development.
  • 11. Page 11 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Use case diagrams are typically developed in the early stage of development ► Specify the context of a system ► Capture the requirements of a system ► Validate a systems architecture ► Drive implementation and generate test cases ► Developed by analysts together with domain experts
  • 12. Page 12 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai Source: https://cdn-images.visual-paradigm.com/guide/uml/what-is-use-case-diagram/02-use-case-diagram-annotated.png
  • 13. Page 13 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Actor ► Someone interacts with use case (system function). ► Named by noun. ► Actor plays a role in the business ► Similar to the concept of user, but a user can play different roles ► For example: ► A prof. can be instructor and also researcher ► plays 2 roles with two systems ► Actor triggers use case(s). ► Actor has a responsibility toward the system (inputs), and Actor has expectations from the system (outputs).
  • 14. Page 14 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Use Case ► System function (process - automated or manual) ► Named by verb + Noun (or Noun Phrase). ► Each Actor must be linked to a use case, while some use cases may not be linked to actors. Use Case
  • 15. Page 15 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Communication Link ► The participation of an actor in a use case is shown by connecting an actor to a use case by a solid link. ► Actors may be connected to use cases by associations, indicating that the actor and the use case communicate with one another using messages.
  • 16. Page 16 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Boundary of system ► The system boundary is potentially the entire system as defined in the requirements document. ► For large and complex systems, each module may be the system boundary. ► For example, for an ERP system for an organization, each of the modules such as personnel, payroll, accounting, etc. System
  • 17. Page 17 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► There can be 5 relationship types in a use case diagram. ► Association between actor and use case ► Generalization of an actor ► Extend between two use cases ► Include between two use cases ► Generalization of a use case
  • 18. Page 18 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► An actor must be associated with at least one use case. ► An actor can be associated with multiple use cases. ► Multiple actors can be associated with a single use case. Source: https://creately.com
  • 19. Page 19 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Generalization of an actor means that one actor can inherit the role of the other actor. ► The descendant inherits all the use cases of the ancestor. ► The descendant has one or more use cases that are specific to that role. Source: https://creately.com
  • 20. Page 20 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► The extending use case is dependent on the extended (base) use case. ► The extending use case is usually optional and can be triggered conditionally. ► The extended (base) use case must be meaningful on its own. Source: https://creately.com
  • 21. Page 21 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai ► Include relationship show that the behaviour of the included use case is part of the including (base) use case. ► The main reason for this is to reuse the common actions across multiple use cases. ► In some situations, this is done to simplify complex behaviours. ► The base use case is incomplete without the included use case. ► The included use case is mandatory and not optional. Source: https://creately.com
  • 22. Page 22 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai Source: https://www.uml-diagrams.org
  • 23. Page 23 Prof. Sarju S, Department of Computer Science and Engineering, SJCET Palai Source: https://www.uml-diagrams.org
  • 24. Page 24 Thank You Prof. Sarju S Department of Computer Science and Engineering St. Joseph’s College of Engineering and Technology, Palai sarju.s@sjcetpalai.ac.in