SlideShare a Scribd company logo
1 of 27
SARVAJANIK COLLEGE OF ENGINEERING AND TECHNOLOGY
COMPUTER ENGINEERING DEPARTMENT
B. E.-III, CO-M, SEM-V
(ODD-2019)
Active Learning Assignment Presentation
on
“Introduction to Object orientation , Modeling as a Design Technique
Modeling Concepts, Abstraction , Basics of the three models, Class
Model, State model and Interaction model”
Subject Name : Object Oriented Programming using Java (2150704)
Prepared and Presented by (Group No. : 17)
Bhumi Chavda (180423107001)
Dhwani Desai (180423107002)
Dhrumi Kansara (180423107005)
Ridham Mangukia (180423107008)
CONTENT
 Introduction to Object orientation
 Modeling as a Design Technique
 Modeling Concepts
 Abstraction
 Basics of the three models
 Class Model
 State Model
 Interaction Model
 Object-Oriented Modeling and Design is a way of
thinking about problems using models organized
around real world concepts. The fundamental
construct is the object, which combines both data
and behavior.
 Object-Oriented means that we organize software
as a collection of discrete objects that incorporate
both data structure and behavior.
 OO generally includes four aspects:
1. Identify
2. Classification
3. Inheritance
4. Polymorphism
3
INTRODUCTION TO OBJECT ORIENTATION
OBJECTS
 An object has:
 state - descriptive characteristics
 behaviors - what it can do (or what can be done to it)
4
Objects have three responsibilities:
What they know about themselves – (e.g., Attributes)
What they do – (e.g., Operations)
What they know about other objects – (e.g., Relationships)
OBJECT
5
WHAT IS UML?
UML: Unified Modelling Language
 An industry-standard graphical language for
specifying, visualizing, constructing and
documenting the software systems, as well as for
business modeling.
 The UML uses mostly graphical notations to
express the OO modeling and design of software
projects.
 Simplifies the complex process of software design
6
WHY WE USE UML?
 Use graphical notation: more clearly than natural
language and code.
 Help acquire an overall view of a system.
 UML is not dependent on any one language or
technology.
7
MODELING AS A DESIGN TECHNIQUE
What is Modelling?
 Modeling consists of building an abstraction of reality.
 Abstractions are simplifications because:
 They ignore irrelevant detailsand
 They only represent the relevantdetails.
W h at is relevant or irrelevant depends on the purpose of the
model.
8
MODELING CONCEPTS
 A model is an abstraction, before building any system
a prototype may be developed. The main purpose of
model is for understanding of the system.
 Designer build different kinds of models for various
purposes before constructing things.
 examples:
 architectural models to show customers
 airplane scale models
 storyboards of advertisements
 outlines of books
9
9/30/2019
10
IMPORTANCE OF MODELLING
 Models helpus
 To visualize a system as it is or as we want it to be.
 To specify the structure or behavior of a system.
 I n providing a template that guides us in constructing a system.
 I n providing documenting the decisions we have made.
11
ANALYSIS
 All aspects of the problem domain need to be
investigated.
 Decompose the problem into smaller problems until
the entire problem is fully understood.
 The models that depict information, function, and
behavior must be constructed in a manner that
uncovers detail.
12
PURPOSES OF A MODEL:
 Designers build many kinds of models for various
purposes before constructing things.
 Models serve several purposes –
 Testing a physical entity before building (simulation)
 Communication with customer
 Visualization
 Reduction of complexity
 Better understanding of the problem
13
ABSTRACTION
 Fundamental human capability that permits us to deal with
complexity
 Selective examination of certain aspect of problem
 Abstraction must always be for some purpose, because the
purpose determines what is and is not important
 “All abstractions are incomplete and inaccurate. Reality is
seamless web. Anything we say about it, and description of it,
is an abridgement. All human words and language are
abstractions—incomplete descriptions of the real world.”
 “This does not destroy their usefulness. The purpose of an
abstraction is to limit the universe so we can do things.”
 In building models, therefore you must not search for absolute
truth but for adequacy for some purpose. There is no single
correct model of a situation, only adequate and inadequate
ones. 14
BASICS OF THE THREE MODELS
What is model?
 It is an abstraction of any system to understand it
before implement it.
 There are three different types of model but
different viewpoints:
 Class model: The static , ”structural”,” data aspects of a
system.
 State model : The temporal , behavioural , “control”
aspects of a system.
 Interaction model : The collaboration of individual
objects , the “interaction” aspects of a system.
Typically software use all the aspects : It uses data-
structures , sequences operations in time , and its passes
data and control among objects.
15
CONT…
 The different models are not independent.
 Each of the three models during development.
 First analysts construct model without regard for
eventual during development.
 Then designers add solution constructs to the
model.
 Implement code both application and solution
constructs.
 The model has two dimensions:
 A view of a system
 A stage of development
9/30/2019
16
CLASS MODEL
 Class diagram is a static diagram.
 It represents the static view of an application.
 Class diagram is not only used for visualizing, describing, and
documenting different aspects of a system but also for
constructing executable code of the software application.
 Class diagram describes the attributes and operations of a
class and also the constraints imposed on the system.
 The class diagrams are widely used in the modeling of object-
oriented systems because they are the only UML diagrams,
which can be mapped directly with object-oriented languages.
 Class diagram shows a collection of classes, interfaces,
associations, collaborations, and constraints.
 It is also known as a structural diagram.
17
PURPOSE OF CLASS DIAGRAMS
 The purpose of class diagram is to model the static
view of an application.
 Class diagrams are the only diagrams which can be
directly mapped with object-oriented languages and
thus widely used at the time of construction.
 Analysis and design of the static view of an
application.
 Describe responsibilities of a system.
 Base for component and deployment diagrams.
 Forward and reverse engineering.
18
19
Class name
Alt 1 : datatype=default vaule
Alt 2: datatype=default value
Alt n : datatype=default value
OP1(arg_list) : Return type
It contains the name of
the class. It is printed in
bold and centered, and
the first letter is
capitalized.
contains the attributes
of the class. They are
left-aligned and the
first letter is lowercase.
contains the operations the
class can execute. They are
also left-aligned and the
first letter is lowercase.
EXAMPLE OF CLASS MODEL
20
STATE MODEL
 The name of the diagram itself clarifies the purpose of the
diagram and other details.
 It describes different states of a component in a system. The
states are specific to a component/object of a system.
 A State diagram describes a state machine.
 State machine can be defined as a machine which defines
different states of an object and these states are controlled by
external or internal events.
 State model captures control.
 State diagrams express the state model.
 Each state diagram shows the states and events sequences
permitted in system for one class of objects.
 Actions and events in a state diagram becomes operations on
objects in the class model.
21
PURPOSE OF STATE MODEL
 State diagram describes the flow of control from one state to
another state.
 States are defined as a condition in which an object exists and
it changes when some event is triggered.
 The most important purpose of State diagram is to model
lifetime of an object from creation to termination.
 State diagrams are also used for forward and reverse
engineering of a system.
 To model the dynamic aspect of a system.
 To model the life time of a reactive system.
 To describe different states of an object during its life time.
 Define a state machine to model the states of an object.
22
EXAMPLE OF STATE MODEL
23
INTERACTION MODEL
 From the term Interaction, it is clear that the diagram is used
to describe some type of interactions among the different
elements in the model. This interaction is a part of dynamic
behavior of the system.
 This interactive behavior is represented in UML by two
diagrams known as Sequence diagram and Collaboration
diagram. The basic purpose of both the diagrams are similar.
 Sequence diagram emphasizes on time sequence of
messages and collaboration diagram emphasizes on the
structural organization of the objects that send and receive
messages.
 Use case documents major themes for interaction between
the system and actors.
24
PURPOSE OF INTERACTION MODEL
 To capture the dynamic behavior of a system.
 To describe the message flow in the system.
 To describe the structural organization of the
objects.
 To describe the interaction among objects.
25
HOW TO DRAW AN INTERACTION DIAGRAM?
 We have two types of interaction diagrams in UML.
 One is the sequence diagram and the other is the
collaboration diagram.
 The sequence diagram captures the time sequence
of the message flow from one object to another and
 The collaboration diagram describes the
organization of objects in a system taking part in
the message flow.
26
 The Sequence Diagram  The Collaboration -
Diagram
27

More Related Content

What's hot

Chapter20 object oriented analysis and design
Chapter20 object oriented analysis and designChapter20 object oriented analysis and design
Chapter20 object oriented analysis and designDhani Ahmad
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagramsjsm1979
 
A Comparison of Traditional Simulation and MSAL (6-3-2015)
A Comparison of Traditional Simulation and MSAL (6-3-2015)A Comparison of Traditional Simulation and MSAL (6-3-2015)
A Comparison of Traditional Simulation and MSAL (6-3-2015)Bob Garrett
 
Formalization & data abstraction during use case modeling in object oriented ...
Formalization & data abstraction during use case modeling in object oriented ...Formalization & data abstraction during use case modeling in object oriented ...
Formalization & data abstraction during use case modeling in object oriented ...csandit
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...Aravind NC
 
OOMD2015_KSP
OOMD2015_KSPOOMD2015_KSP
OOMD2015_KSPktosri
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesAmr E. Mohamed
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)jsm1979
 
ITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesTonny Madsen
 
A SURVEY ON USER MODELING IN HCI
A SURVEY ON USER MODELING IN HCIA SURVEY ON USER MODELING IN HCI
A SURVEY ON USER MODELING IN HCIcaijjournal
 
Software Engineering : OOAD using UML
Software Engineering : OOAD using UMLSoftware Engineering : OOAD using UML
Software Engineering : OOAD using UMLAjit Nayak
 

What's hot (18)

Chapter20 object oriented analysis and design
Chapter20 object oriented analysis and designChapter20 object oriented analysis and design
Chapter20 object oriented analysis and design
 
Intro to UML - Use Case diagrams
Intro to UML - Use Case diagramsIntro to UML - Use Case diagrams
Intro to UML - Use Case diagrams
 
A Comparison of Traditional Simulation and MSAL (6-3-2015)
A Comparison of Traditional Simulation and MSAL (6-3-2015)A Comparison of Traditional Simulation and MSAL (6-3-2015)
A Comparison of Traditional Simulation and MSAL (6-3-2015)
 
Ch 2.1
Ch 2.1Ch 2.1
Ch 2.1
 
Uml introduciton
Uml introducitonUml introduciton
Uml introduciton
 
Formalization & data abstraction during use case modeling in object oriented ...
Formalization & data abstraction during use case modeling in object oriented ...Formalization & data abstraction during use case modeling in object oriented ...
Formalization & data abstraction during use case modeling in object oriented ...
 
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
MC0083 – Object Oriented Analysis &. Design using UML - Master of Computer Sc...
 
SECh78
SECh78SECh78
SECh78
 
Uml diagrams
Uml diagramsUml diagrams
Uml diagrams
 
OOMD2015_KSP
OOMD2015_KSPOOMD2015_KSP
OOMD2015_KSP
 
SE_Lec 08_UML Use Cases
SE_Lec 08_UML Use CasesSE_Lec 08_UML Use Cases
SE_Lec 08_UML Use Cases
 
Ph.D. Registeration seminar
Ph.D. Registeration seminarPh.D. Registeration seminar
Ph.D. Registeration seminar
 
OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)OOAD with UML (Interaction Diagramming)
OOAD with UML (Interaction Diagramming)
 
ITU - MDD – Modeling Techniques
ITU - MDD – Modeling TechniquesITU - MDD – Modeling Techniques
ITU - MDD – Modeling Techniques
 
Usecase Presentation
Usecase PresentationUsecase Presentation
Usecase Presentation
 
A SURVEY ON USER MODELING IN HCI
A SURVEY ON USER MODELING IN HCIA SURVEY ON USER MODELING IN HCI
A SURVEY ON USER MODELING IN HCI
 
A018110108
A018110108A018110108
A018110108
 
Software Engineering : OOAD using UML
Software Engineering : OOAD using UMLSoftware Engineering : OOAD using UML
Software Engineering : OOAD using UML
 

Similar to Introduction to Object orientation , Modeling as a Design Technique Modeling Concepts, Abstraction , Basics of the three models, Class Model, State model and Interaction model

INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSAshita Agrawal
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfMeagGhn
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdfSHIVAM691605
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxNwabueze Obioma
 
Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented DatabaseMegan Espinoza
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling languageEmmanuel Kumah
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technologyMayukh Maitra
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UMLyndaravind
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technologySaransh Garg
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling LanguageAMITJain879
 
Architecture and design
Architecture and designArchitecture and design
Architecture and designhimanshu_airon
 
Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Samantha Randall
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Languagesurana college
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2Sisir Ghosh
 

Similar to Introduction to Object orientation , Modeling as a Design Technique Modeling Concepts, Abstraction , Basics of the three models, Class Model, State model and Interaction model (20)

Uml
UmlUml
Uml
 
INTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMSINTRODUCTION TO UML DIAGRAMS
INTRODUCTION TO UML DIAGRAMS
 
System modeling
System modelingSystem modeling
System modeling
 
Software Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdfSoftware Engineering Tools and Practices.pdf
Software Engineering Tools and Practices.pdf
 
Object oriented analysis and design unit- iv
Object oriented analysis and design unit- ivObject oriented analysis and design unit- iv
Object oriented analysis and design unit- iv
 
Object-oriented modeling and design.pdf
Object-oriented modeling and  design.pdfObject-oriented modeling and  design.pdf
Object-oriented modeling and design.pdf
 
Object oriented analysis and design unit- ii
Object oriented analysis and design unit- iiObject oriented analysis and design unit- ii
Object oriented analysis and design unit- ii
 
UML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptxUML and Software Modeling Tools.pptx
UML and Software Modeling Tools.pptx
 
Object Oriented Database
Object Oriented DatabaseObject Oriented Database
Object Oriented Database
 
Understanding unified modelling language
Understanding unified modelling languageUnderstanding unified modelling language
Understanding unified modelling language
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
Introduction to UML
Introduction to UMLIntroduction to UML
Introduction to UML
 
Component based models and technology
Component based models and technologyComponent based models and technology
Component based models and technology
 
Introduction to Unified Modeling Language
Introduction to Unified Modeling LanguageIntroduction to Unified Modeling Language
Introduction to Unified Modeling Language
 
Architecture and design
Architecture and designArchitecture and design
Architecture and design
 
Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...Application Of Uml Using Uml Diagrams Used At Each Stage...
Application Of Uml Using Uml Diagrams Used At Each Stage...
 
Learn sqa process
Learn sqa processLearn sqa process
Learn sqa process
 
Unified Modeling Language
Unified Modeling LanguageUnified Modeling Language
Unified Modeling Language
 
ASP.NET System design 2
ASP.NET System design 2ASP.NET System design 2
ASP.NET System design 2
 
Oomd unit1
Oomd unit1Oomd unit1
Oomd unit1
 

Recently uploaded

Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 

Recently uploaded (20)

DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Analog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 

Introduction to Object orientation , Modeling as a Design Technique Modeling Concepts, Abstraction , Basics of the three models, Class Model, State model and Interaction model

  • 1. SARVAJANIK COLLEGE OF ENGINEERING AND TECHNOLOGY COMPUTER ENGINEERING DEPARTMENT B. E.-III, CO-M, SEM-V (ODD-2019) Active Learning Assignment Presentation on “Introduction to Object orientation , Modeling as a Design Technique Modeling Concepts, Abstraction , Basics of the three models, Class Model, State model and Interaction model” Subject Name : Object Oriented Programming using Java (2150704) Prepared and Presented by (Group No. : 17) Bhumi Chavda (180423107001) Dhwani Desai (180423107002) Dhrumi Kansara (180423107005) Ridham Mangukia (180423107008)
  • 2. CONTENT  Introduction to Object orientation  Modeling as a Design Technique  Modeling Concepts  Abstraction  Basics of the three models  Class Model  State Model  Interaction Model
  • 3.  Object-Oriented Modeling and Design is a way of thinking about problems using models organized around real world concepts. The fundamental construct is the object, which combines both data and behavior.  Object-Oriented means that we organize software as a collection of discrete objects that incorporate both data structure and behavior.  OO generally includes four aspects: 1. Identify 2. Classification 3. Inheritance 4. Polymorphism 3 INTRODUCTION TO OBJECT ORIENTATION
  • 4. OBJECTS  An object has:  state - descriptive characteristics  behaviors - what it can do (or what can be done to it) 4 Objects have three responsibilities: What they know about themselves – (e.g., Attributes) What they do – (e.g., Operations) What they know about other objects – (e.g., Relationships)
  • 6. WHAT IS UML? UML: Unified Modelling Language  An industry-standard graphical language for specifying, visualizing, constructing and documenting the software systems, as well as for business modeling.  The UML uses mostly graphical notations to express the OO modeling and design of software projects.  Simplifies the complex process of software design 6
  • 7. WHY WE USE UML?  Use graphical notation: more clearly than natural language and code.  Help acquire an overall view of a system.  UML is not dependent on any one language or technology. 7
  • 8. MODELING AS A DESIGN TECHNIQUE What is Modelling?  Modeling consists of building an abstraction of reality.  Abstractions are simplifications because:  They ignore irrelevant detailsand  They only represent the relevantdetails. W h at is relevant or irrelevant depends on the purpose of the model. 8
  • 9. MODELING CONCEPTS  A model is an abstraction, before building any system a prototype may be developed. The main purpose of model is for understanding of the system.  Designer build different kinds of models for various purposes before constructing things.  examples:  architectural models to show customers  airplane scale models  storyboards of advertisements  outlines of books 9
  • 11. IMPORTANCE OF MODELLING  Models helpus  To visualize a system as it is or as we want it to be.  To specify the structure or behavior of a system.  I n providing a template that guides us in constructing a system.  I n providing documenting the decisions we have made. 11
  • 12. ANALYSIS  All aspects of the problem domain need to be investigated.  Decompose the problem into smaller problems until the entire problem is fully understood.  The models that depict information, function, and behavior must be constructed in a manner that uncovers detail. 12
  • 13. PURPOSES OF A MODEL:  Designers build many kinds of models for various purposes before constructing things.  Models serve several purposes –  Testing a physical entity before building (simulation)  Communication with customer  Visualization  Reduction of complexity  Better understanding of the problem 13
  • 14. ABSTRACTION  Fundamental human capability that permits us to deal with complexity  Selective examination of certain aspect of problem  Abstraction must always be for some purpose, because the purpose determines what is and is not important  “All abstractions are incomplete and inaccurate. Reality is seamless web. Anything we say about it, and description of it, is an abridgement. All human words and language are abstractions—incomplete descriptions of the real world.”  “This does not destroy their usefulness. The purpose of an abstraction is to limit the universe so we can do things.”  In building models, therefore you must not search for absolute truth but for adequacy for some purpose. There is no single correct model of a situation, only adequate and inadequate ones. 14
  • 15. BASICS OF THE THREE MODELS What is model?  It is an abstraction of any system to understand it before implement it.  There are three different types of model but different viewpoints:  Class model: The static , ”structural”,” data aspects of a system.  State model : The temporal , behavioural , “control” aspects of a system.  Interaction model : The collaboration of individual objects , the “interaction” aspects of a system. Typically software use all the aspects : It uses data- structures , sequences operations in time , and its passes data and control among objects. 15
  • 16. CONT…  The different models are not independent.  Each of the three models during development.  First analysts construct model without regard for eventual during development.  Then designers add solution constructs to the model.  Implement code both application and solution constructs.  The model has two dimensions:  A view of a system  A stage of development 9/30/2019 16
  • 17. CLASS MODEL  Class diagram is a static diagram.  It represents the static view of an application.  Class diagram is not only used for visualizing, describing, and documenting different aspects of a system but also for constructing executable code of the software application.  Class diagram describes the attributes and operations of a class and also the constraints imposed on the system.  The class diagrams are widely used in the modeling of object- oriented systems because they are the only UML diagrams, which can be mapped directly with object-oriented languages.  Class diagram shows a collection of classes, interfaces, associations, collaborations, and constraints.  It is also known as a structural diagram. 17
  • 18. PURPOSE OF CLASS DIAGRAMS  The purpose of class diagram is to model the static view of an application.  Class diagrams are the only diagrams which can be directly mapped with object-oriented languages and thus widely used at the time of construction.  Analysis and design of the static view of an application.  Describe responsibilities of a system.  Base for component and deployment diagrams.  Forward and reverse engineering. 18
  • 19. 19 Class name Alt 1 : datatype=default vaule Alt 2: datatype=default value Alt n : datatype=default value OP1(arg_list) : Return type It contains the name of the class. It is printed in bold and centered, and the first letter is capitalized. contains the attributes of the class. They are left-aligned and the first letter is lowercase. contains the operations the class can execute. They are also left-aligned and the first letter is lowercase.
  • 20. EXAMPLE OF CLASS MODEL 20
  • 21. STATE MODEL  The name of the diagram itself clarifies the purpose of the diagram and other details.  It describes different states of a component in a system. The states are specific to a component/object of a system.  A State diagram describes a state machine.  State machine can be defined as a machine which defines different states of an object and these states are controlled by external or internal events.  State model captures control.  State diagrams express the state model.  Each state diagram shows the states and events sequences permitted in system for one class of objects.  Actions and events in a state diagram becomes operations on objects in the class model. 21
  • 22. PURPOSE OF STATE MODEL  State diagram describes the flow of control from one state to another state.  States are defined as a condition in which an object exists and it changes when some event is triggered.  The most important purpose of State diagram is to model lifetime of an object from creation to termination.  State diagrams are also used for forward and reverse engineering of a system.  To model the dynamic aspect of a system.  To model the life time of a reactive system.  To describe different states of an object during its life time.  Define a state machine to model the states of an object. 22
  • 23. EXAMPLE OF STATE MODEL 23
  • 24. INTERACTION MODEL  From the term Interaction, it is clear that the diagram is used to describe some type of interactions among the different elements in the model. This interaction is a part of dynamic behavior of the system.  This interactive behavior is represented in UML by two diagrams known as Sequence diagram and Collaboration diagram. The basic purpose of both the diagrams are similar.  Sequence diagram emphasizes on time sequence of messages and collaboration diagram emphasizes on the structural organization of the objects that send and receive messages.  Use case documents major themes for interaction between the system and actors. 24
  • 25. PURPOSE OF INTERACTION MODEL  To capture the dynamic behavior of a system.  To describe the message flow in the system.  To describe the structural organization of the objects.  To describe the interaction among objects. 25
  • 26. HOW TO DRAW AN INTERACTION DIAGRAM?  We have two types of interaction diagrams in UML.  One is the sequence diagram and the other is the collaboration diagram.  The sequence diagram captures the time sequence of the message flow from one object to another and  The collaboration diagram describes the organization of objects in a system taking part in the message flow. 26
  • 27.  The Sequence Diagram  The Collaboration - Diagram 27