You are on page 1of 3

Department of Software Engineering

SE-210: Software Design and Architecture

Class: BESE 10A

Lab 06: Creational Design Patterns

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

Date: Oct 13, 2021

Time: 10:00 am -1:00 pm

2:00 pm – 5:00 pm

Instructor: Dr. Seema Jehan

SE-210: Software Design and Architecture Page 1


Lab 06: Creational Design Patterns

Introduction

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

Objectives
This objective of this lab is to get a practical understanding and knowledge of Builder method
Pattern. After the completion of this lab, students will be able to apply Builder method design
pattern to build a maze game.

Tools/Software Requirement
 Papyrus/Rational Rose
 Java/ Python

Description

The Builder interface can create three things: (1) the maze, (2) rooms with a particular room
number, and (3)doors between numbered rooms. The GetMaze operation returns the maze to the
client. Subclasses of MazeBuilder will override this operation to return the maze that they build.
Apply the above description to create either StandardMaze or EnchantedMazeGame.

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