SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
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

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Plus de ktuonlinenotes

Plus de 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
 

Dernier

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
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.pdfAdmir Softic
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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.pptxDenish Jangid
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
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
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
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)Jisc
 
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).pptxVishalSingh1417
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Dernier (20)

TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
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
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
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...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
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)
 
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
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

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