You are on page 1of 3

Department of Software Engineering

SE-210: Software Design and Architecture

Class: BESE 10B

Lab 11: Behavioural Design Patterns

CLO3: IMPLEMENT THE DESIGN PATTERN AND ARCHITECTURAL PATTERN TO FULFIL GIVEN
QUALITY CRITERIA

Date: Dec 08, 2021

Time:

10:00 am – 1:00 pm

Instructor: Dr. Hassan Ali khattak

SE-210: Software Design and Architecture Page 1


Lab 11: Behavioral Design Patterns

Introduction

Students will have hands-on experience of implementing a behavioral design pattern to a chosen
problem.

Objectives
This objective of this lab is to get a practical understanding and knowledge of the behavioral
Design Patterns. After the completion of this lab, students will be able to apply Mediator design
pattern to a chosen scenario.

Tools/Software Requirement
 Papyrus/Rational Rose
 Python

Description

In software engineering, behavioral design patterns are complex arrangement of two or more
responses that occur in a prescribed order. Behavior patterns are also referred to as chains of
behavior, highlighting their nature as a complex linking of simpler segments of behavior.

Lab Task

Task 1
1. Draw UML Class diagram of the chosen scenario.
2. Fully functional code of the scenario.
Answer:

Solution
UML Class Diagram

Source Code

SE-210: Software Design and Architecture Page 2


Deliverables
Compile a single word document by filling in the solution part and submit this Word file on
LMS. This lab grading policy is as follows: The lab is graded between 0 to 10 marks. The
submitted solution can get a maximum of 5 marks. At the end of each lab or in the next lab, there
will be a viva related to the tasks. The viva has a weightage of 5 marks. Insert the
solution/answer in this document. You must show the implementation of the tasks in the
designing tool, along with your completed Word document to get your work graded. You must
also submit this Word document on the LMS. In case of any problems with submissions on
LMS, submit your Lab assignments by emailing it to nadeem.nawaz@seecs.edu.pk.

SE-210: Software Design and Architecture Page 3

You might also like