0% found this document useful (0 votes)
2 views

Functional Modeling Lecture 1-2024

The document outlines a course on Functional Modeling, focusing on Object-Oriented Modeling and its various diagrams such as Use Case, Activity, Class, Sequence, and State diagrams. It emphasizes the importance of understanding real-world elements to construct visual artifacts and develop well-designed programs. The course includes sessions on different modeling types and culminates in a mock exam to assess competencies in the subject matter.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Functional Modeling Lecture 1-2024

The document outlines a course on Functional Modeling, focusing on Object-Oriented Modeling and its various diagrams such as Use Case, Activity, Class, Sequence, and State diagrams. It emphasizes the importance of understanding real-world elements to construct visual artifacts and develop well-designed programs. The course includes sessions on different modeling types and culminates in a mock exam to assess competencies in the subject matter.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 23

Functional Modelling

Marya Butt, PhD.


Researcher Data Driven Smart Society (DDSS) & Robotics
BIG DATA, Deep Learning,Computer Vision
Faculty of Engineering Design and Computing
Mob: +31(0) 0611878759
E: [email protected]
Prospects
Functional Modeling:Repitition of ‘Introduction to
Modeling’?
Expected Competencies
• Comprehend case statement
• Fill-up gaps( if any)
• Visualize/ illustrate Case [Note: use of right controls]
• Process diagram
• UseCase diagram
• Activity diagram
• Class diagram
• Sequence diagram
• State diagram
OVERVIEW

• Session 1: Introduction
• Session 2: Use Case diagrams
• Session 3: Activity diagrams
• Session 4: Class diagrams
• Session 5: Sequence and State diagrams
• Session 6: Dissolved
• Session 7: Mock Exam (Q/A) after holidays
AGENDA

INVESTIGATIO COURSE
CLASS
N INTRODUCTIO
ACTIVITY
N & SOME
RECAP
Object-Oriented Modelling
What?
Constructing visual artifacts based on real-world elements
(objects)

Why?
• To understand problems
• Develop proper documents
• Produce well-designed programs

Results?
• Well-understood requirements
• Robust designs
• High quality and maintainable systems
Quick Assessment
Take your mobiles out

Open Kahoot.it on your mobile

Type PINCODE as shown on the screen


OO Analysis & Design
Investigation and Collaboration

OO Design OO
OO Analysis • Collaboration Implementati
• Objects
• Reponsibilitie
• Association on
• Requirement • C++
s fullfilment • Java
OO Design & UML
The UML toolset includes diagrams that allow you to
visualize the construction of an object-oriented system

Software systems

UML  Modeling language


Non-Software
systems

OO Design Transformation  UML diagram


(requirements)
OOP Building Blocks
Class & Objects
1- Class • Class blueprint
2- Object • Before object creation-needs-
class definition
3- Inheritance • e.g. visualize the class= house
4- Encapsulation sketch (prototype)
• Includes details-windows, floors,
5- Abstraction walls etc.
5- Polymorphism • House=object
• Multiple objects
OOP Building Blocks
Inheritance
• Properties of a class inherited by
1- Object the other
2- Class • Helps reusability & relationship
b/w different classes
3- Inheritance
4- Encapsulation
5- Abstraction
6- Polymorphism
OOP Building Blocks
Encapsulation

1- Object • Bundling of data+code single


2- Class unit
• Methods + variables – safe and
3- Inheritance hidden
4- Encapsulation
5- Abstraction
6- Polymorphism
OOP Building Blocks
Abstraction Donald Trump
1- Object
• Hiding internal data &
2- Class Implementation
3- Inheritance showing essentials
• Compelxity reduction
4- Encapsulation • Internal processing is
5- Abstraction hidden
6- Polymorphism
OOP Building Blocks
Polymorphism
• Variable, function, object  multiple
1- Object forms
2- Class • performance of the same task in
various ways
3- Inheritance • One interface and multiple
4- implementations

Encapsulation
5- Abstraction
6-
Polymorphism
UML Modeling types

Static View Dynamic View


(Structural Modelling) (Behavioral Modelling)

• Shows structural relationship • Shows dynamic behavior


• View of the system that • View of the system that
doesn’t change with time changes with time
• Collaboration among objects
• Changes to internal states of
the objects
UML Architecture
Architecture is the collection of several views

Visualize the system from the perspective of different


viewers.
UML architecture typically focuses on four primary
architectural views:

• Design: classes, interfaces and collaboration e.g. class


diagram, object diagram
• Process: flow of the system e.g. class diagram
• Implementation: UML component
• Deployment (hardware toplogy): UML deployment
Source: visual-paradigm
Source: visual-paradigm
Object-Oriented
Analysis
Object–Oriented Analysis (OOA) is the procedure of
• identifying software engineering requirements and
• developing software specifications in terms of
interacting objects

The primary tasks in object-oriented analysis (OOA) are


Identifying
• objects
• object attributes
• behavior of the objects, i.e., object actions
• describing how the objects interact
Nearly anything can be an
object… Organizational Units
External Entities that are relevant to the application
that interact with the system being modeled e.g. division, group, team, etc.
e.g. people, devices, other systems
Places
Things that establish the context of the problem being
that are part of the domain being modeled modeled
e.g. reports, displays, signals, etc. e.g. manufacturing floor, loading dock, etc.

Occurrences or Events Structures


that occur in the context of the system that define a class or assembly of objects
e.g. sensors, four-wheeled vehicles, computers,
e.g. transfer of resources, a control action, etc.
etc.

Some things cannot be objects: Roles


 procedures (e.g. print, invert, etc) played by people who interact with the system
 attributes (e.g. blue, 50Mb, etc)
Source: Adapted from Pressman, 1994,
p242
Object–Oriented Design (OOD)
implementation of the conceptual model produced during object-
oriented analysis
During this
• constraints are identified
• interfaces are designed

Results in
• a model for the solution domain
• a detailed description of how the software objects collaborate
to fulfill the requirements
Create an artifact of Haarlem festival Project

OO Analysis
Haarlem
Festival

Identify
• real-world objects
• attributes
• behaviour

You might also like