Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question No. 03 [30 Marks] You are provided with the following three scenarios. For each scenario you must choose what creational design pattern should be

image text in transcribed

Question No. 03 [30 Marks] You are provided with the following three scenarios. For each scenario you must choose what creational design pattern should be used. You are also required to provide justification and detailed description of the proposed design pattern Scenario 01 Imagine you are building a software application that includes a logging module that writes log messages to a file. The logging module needs to ensure that not multiple instances of the logger are created, because creating multiple instances could lead to conflicts when writing to the log file. Scenario 02 You are building a software application that allows users to create and edit documents. The application supports several types of documents, such as word processor documents, spreadsheet documents, and presentation documents. You want to implement a system that allows users to easily create new instances of different types of documents. Scenario 03 You are working on a project for a company that produces vending machines. The company has two manufacturing plants, one in North America and one in Europe, and each plant produces separate vending machines for different types of products: snacks, drinks, and ice cream. Initially, the company only produced vending machines for North American customers, so the plant in North America was set up to produce all three types of vending machines. However, as the company started to expand into the European market, they set up a new plant in Europe to produce vending machines specifically for European customers. In future company has plans to expand its market to more regions e.g middle east, China and sub content and more

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions