SlideShare a Scribd company logo
3
Most read
4
Most read
5
Most read
Design Pattern
Manish Kumar
Roll-13118037
Semester-6th
National Institute of Technology
Raipur ,India
OUTLINE
• What is Design Pattern?
• Classification of Design Pattern
• Creational patterns
• Structural patterns
• Behavioral patterns
• Strategy Design Pattern
• Architecture
• Applications And Examples
• Benefits of Strategy Design Pattern
What is Design Pattern?
In software engineering, a design pattern is a general reusable
solution to a commonly occurring problem in software design.
A design pattern is not a finished design that can be transformed
directly into code.
It is a description or template for how to solve a problem that can
be used in many different situations.
Classification of Design Pattern
Creational patterns
• In software engineering, creational design
patterns are design patterns that deal with object
creation mechanisms,
• trying to create objects in a manner suitable to
the situation.
• The basic form of object creation could result in
design problems or added complexity to the
design. Creational design patterns solve this
problem by somehow controlling this object
creation.
Structural patterns
• In Software Engineering, Structural Design
Patterns are Design Patterns that ease the
design by identifying a simple way to realize
relationships between entities.
Behavioral patterns
• In software engineering, behavioral design
patterns are design patterns that identify
common communication patterns between
objects and realize these patterns. By doing
so, these patterns increase flexibility in
carrying out this communication.
Strategy Design Pattern
• Define a family of algorithms, encapsulate
each one, and make them interchangeable.
Strategy lets the algorithm vary independently
from the clients that use it.
Architecture
Applications And Examples
• Shopping mall Example
1. Accept Customer Details
2. calculate the bill
3.Apply Discount Based on day of the week
(a) Monday Low discount -10%
(b) Thursday High discount-50%
Design Pattern in Software Engineering
Design Pattern in Software Engineering
Design Pattern in Software Engineering
Design Pattern in Software Engineering
Benefits of Strategy Design
Pattern
1.Eliminates large conditional
statements.
2.Provides a choice of
implementations for the
same behavior.
References
• https://en.wikibooks.org/wiki/Introduction_to_Softwar
e_Engineering/Architecture/Design_Patterns
• https://en.wikipedia.org/wiki/Software_design_patter
n
• https://sourcemaking.com/design_patterns/strategy
• http://www.slideshare.net/ganeshkolhe/strategy-
design-pattern-12032203?related=5
• http://www.tutorialspoint.com/design_pattern/strateg
y_pattern.htm
• http://www.oodesign.com/strategy-pattern.html
Design Pattern in Software Engineering

More Related Content

PPT
Software architecture design ppt
PDF
Software Engineering - chp4- design patterns
PDF
Introduction to Design Pattern
PDF
Polymorphism in oop
PPTX
AI: Learning in AI
PPTX
Insulin pump overview
PPTX
Design pattern-presentation
PPTX
Resource Allocation In Software Project Management
Software architecture design ppt
Software Engineering - chp4- design patterns
Introduction to Design Pattern
Polymorphism in oop
AI: Learning in AI
Insulin pump overview
Design pattern-presentation
Resource Allocation In Software Project Management

What's hot (20)

PPTX
Ooad ppt
PPT
Software Architecture
PPT
Object Oriented Software Engineering (OOSE) presentation on SOFTWARE MAINTENANCE
PPTX
PPT
Design patterns ppt
PDF
Design patterns
PPTX
Adbms 16 object definition language
PPTX
Software Reliability
PDF
Object Oriented Analysis Design using UML
PPTX
Software Quality Attributes
PPT
Architecture design in software engineering
PPT
Class diagrams
DOCX
Software Engineering Solved Past Paper 2020
PPTX
Cohesion and coupling
PPTX
Basic Behavioral Modeling
PPTX
Software Architecture
PPTX
Software re engineering
PPT
PPT
Coupling and cohesion
Ooad ppt
Software Architecture
Object Oriented Software Engineering (OOSE) presentation on SOFTWARE MAINTENANCE
Design patterns ppt
Design patterns
Adbms 16 object definition language
Software Reliability
Object Oriented Analysis Design using UML
Software Quality Attributes
Architecture design in software engineering
Class diagrams
Software Engineering Solved Past Paper 2020
Cohesion and coupling
Basic Behavioral Modeling
Software Architecture
Software re engineering
Coupling and cohesion
Ad

Viewers also liked (19)

PPT
Software Design Patterns
PPTX
Architectural Design Pattern: Android
PPTX
Software design patterns ppt
PDF
Architecture Description Languages: An Overview
PPTX
Design pattern
PPT
RI.4.5 Text Structures
PPT
Application Of Software Design Pattern
PDF
Android (software) Design Pattern
PPTX
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
PPTX
Observer Software Design Pattern
PPT
Software Process in Software Engineering SE3
PDF
Creational Design Patterns
PDF
Software Architecture: Architecture Description Languages
PPTX
Design pattern - Software Engineering
PDF
Design Pattern Explained CH1
PDF
Software Design Patterns in Practice
PPT
Design Patterns
PPTX
Patterns Of Organization Compare Contrast Cause Effect
PPTX
Architecture evaluation
Software Design Patterns
Architectural Design Pattern: Android
Software design patterns ppt
Architecture Description Languages: An Overview
Design pattern
RI.4.5 Text Structures
Application Of Software Design Pattern
Android (software) Design Pattern
SOFTWARE QUALITY ASSURANCE AND DESIGN PATTERNS
Observer Software Design Pattern
Software Process in Software Engineering SE3
Creational Design Patterns
Software Architecture: Architecture Description Languages
Design pattern - Software Engineering
Design Pattern Explained CH1
Software Design Patterns in Practice
Design Patterns
Patterns Of Organization Compare Contrast Cause Effect
Architecture evaluation
Ad

Similar to Design Pattern in Software Engineering (20)

PPTX
Designpattern
PPTX
Design pattern
PDF
Introduction to Design Patterns
PPTX
Design patterns software re engineering lect 10
PDF
Design pattern in js
PPTX
Interaction design patterns
PPTX
Software Design
PDF
Module 2 design patterns-2
PDF
Interaction Design Patterns in Recommender Systems
PPTX
Software Design Patterns and Quality Assurance
PPTX
PPTX
Lecture-7.pptx software design and Arthitechure
PPTX
CSE_2014 SE MODULE 1 V.10 (2).pptx
PPT
Design final
PDF
Design Thinking & Project Management
PPTX
Python: Design Patterns
PPTX
Design Pattern - Introduction
PDF
What design patterns are you going to use What is the reason for us.pdf
PPTX
CSE_2014 SE MODULE 1 V.10.pptx
Designpattern
Design pattern
Introduction to Design Patterns
Design patterns software re engineering lect 10
Design pattern in js
Interaction design patterns
Software Design
Module 2 design patterns-2
Interaction Design Patterns in Recommender Systems
Software Design Patterns and Quality Assurance
Lecture-7.pptx software design and Arthitechure
CSE_2014 SE MODULE 1 V.10 (2).pptx
Design final
Design Thinking & Project Management
Python: Design Patterns
Design Pattern - Introduction
What design patterns are you going to use What is the reason for us.pdf
CSE_2014 SE MODULE 1 V.10.pptx

Recently uploaded (20)

PPTX
web development for engineering and engineering
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPT
Mechanical Engineering MATERIALS Selection
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Lecture Notes Electrical Wiring System Components
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Digital Logic Computer Design lecture notes
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Project quality management in manufacturing
PPTX
Artificial Intelligence
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
Current and future trends in Computer Vision.pptx
web development for engineering and engineering
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Mechanical Engineering MATERIALS Selection
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Lecture Notes Electrical Wiring System Components
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
R24 SURVEYING LAB MANUAL for civil enggi
Digital Logic Computer Design lecture notes
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Project quality management in manufacturing
Artificial Intelligence
Embodied AI: Ushering in the Next Era of Intelligent Systems
Internet of Things (IOT) - A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
additive manufacturing of ss316l using mig welding
Current and future trends in Computer Vision.pptx

Design Pattern in Software Engineering

  • 2. OUTLINE • What is Design Pattern? • Classification of Design Pattern • Creational patterns • Structural patterns • Behavioral patterns • Strategy Design Pattern • Architecture • Applications And Examples • Benefits of Strategy Design Pattern
  • 3. What is Design Pattern? In software engineering, a design pattern is a general reusable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations.
  • 5. Creational patterns • In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, • trying to create objects in a manner suitable to the situation. • The basic form of object creation could result in design problems or added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.
  • 6. Structural patterns • In Software Engineering, Structural Design Patterns are Design Patterns that ease the design by identifying a simple way to realize relationships between entities.
  • 7. Behavioral patterns • In software engineering, behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns. By doing so, these patterns increase flexibility in carrying out this communication.
  • 8. Strategy Design Pattern • Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from the clients that use it.
  • 10. Applications And Examples • Shopping mall Example 1. Accept Customer Details 2. calculate the bill 3.Apply Discount Based on day of the week (a) Monday Low discount -10% (b) Thursday High discount-50%
  • 15. Benefits of Strategy Design Pattern 1.Eliminates large conditional statements. 2.Provides a choice of implementations for the same behavior.
  • 16. References • https://en.wikibooks.org/wiki/Introduction_to_Softwar e_Engineering/Architecture/Design_Patterns • https://en.wikipedia.org/wiki/Software_design_patter n • https://sourcemaking.com/design_patterns/strategy • http://www.slideshare.net/ganeshkolhe/strategy- design-pattern-12032203?related=5 • http://www.tutorialspoint.com/design_pattern/strateg y_pattern.htm • http://www.oodesign.com/strategy-pattern.html