Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ONLY USE PROTOTYPE, SINGLETON or OBJECT POOL 1. (2.5 pts) A company provides online ordering services. A customer needs to request a service object in

 ONLY USE PROTOTYPE, SINGLETON or OBJECT POOL



image text in transcribed

1. (2.5 pts) A company provides online ordering services. A customer needs to request a service object in order to place an order. In the past, the business was slow so that the system ran well. Today, the business is soaring and the system often fails due to insufficient memory. Before new hardware is acquired, the company would like you to redesign the system to prevent the problem. Which design pattern is a good candidate? 2. (2.5 pts) A simulation takes several days to process big data and stores the computed results in an object. Some subsequent experiments need to utilize the results of this object. Knowing that every experiment is likely to change the contents of the object, which design pattern is a good choice to help run the experiments correctly and independently? 3. (2.5 pts) Design a printer manager to spool all of the submitted printing jobs in order to print them in sequence. Without this printer manager, the printer may print out interleaved results of those submitted job. Which design pattern is a choice for this printer manager? 4. (2.5 pts) Based on your answer to Q3, show the UML class diagram for this printer manager class.

Step by Step Solution

3.33 Rating (156 Votes )

There are 3 Steps involved in it

Step: 1

1 To prevent memory issues in the online ordering system a good design pattern candidate is the Flyw... 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_2

Step: 3

blur-text-image_3

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

International Marketing And Export Management

Authors: Gerald Albaum , Alexander Josiassen , Edwin Duerr

8th Edition

1292016922, 978-1292016924

More Books

Students also viewed these Computer Engineering questions

Question

How is this person feeling about the situation?

Answered: 1 week ago