ONLY USE PROTOTYPE, SINGLETON or OBJECT POOL 1. (2.5 pts) A company provides online ordering services. A
Fantastic news! We've Found the answer you've been seeking!
Question:
ONLY USE PROTOTYPE, SINGLETON or OBJECT POOL
Transcribed Image Text:
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. 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.
Expert Answer:
Answer rating: 100% (QA)
1 To prevent memory issues in the online ordering system a good design pattern candidate is the Flyw... View the full answer
Related Book For
International Marketing And Export Management
ISBN: 9781292016924
8th Edition
Authors: Gerald Albaum , Alexander Josiassen , Edwin Duerr
Posted Date:
Students also viewed these computer engineering questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Design a Java class that represents a cache with a fixed size. It should support operations like add, retrieve, and remove, and it should evict the least recently used item when it reaches capacity.
-
The following information is available for Marigold's Hot Dogs: Actual production Budgeted production Standard direct labor hours Actual direct labor hours Standard variable overhead rate Actual...
-
Find the area of each figure. 1. 2. (2x 1) yards Rectangle yards (x 2) centimeters (5x + 4) centimeters 10 centimeters Rectangle centimeters Rectangle
-
What determines which type of sales forecast would be appropriate for a small business? Describe how a specific small business would implement the build-up approach.
-
Suppose that instead of choosing Earth and the ball as our system in the discussion leading up to Eq. 7.21, we had chosen to consider just the ball. Does it make sense to speak about the...
-
The Polishing Department of Harbin Manufacturing Company has the following production and manufacturing cost data for September. Materials are entered at the beginning of the process. Production:...
-
(a) A mutual fund raised Rs. 150 lakhs on April 1, 2018 by issue of 15 lakh units at Rs. 10 per unit. The fund invested in several capital market instruments to build a portfolio of Rs. 140 lakhs,...
-
Locate two current, peer-reviewed studies published within the last five years that coalition members should consider as foundational to developing an evidence-based intervention for obesity. Briefly...
-
A 12-in-diameter distribution line will operate at a working pressure of 100 lb/in2. Average depth of cover will be 5.0 ft under a paved roadway. The native soil is sand. Using standard AWWA design...
-
I am doing a persuasive speech on texting and driving following Monroe pattern sequence I have to fill out a Outline along with my speech and I need help with the outline of this speech here is the...
-
once again that you are an automobile manufacturing executive tasked with increasing sales in your state. You wish to do a qualitative study to obtain the perspective of sales personnel regarding an...
-
For the Boolean functions E and F, as given in the following truth table: Y Z F E 0 0 0 0 0 1 0 1 1 0 0 0 1 1 1 1 0 0 1 0 0 1 0 1 1 1 1 1 1 (a) List the minterms and maxterms of each function. (b)...
-
Maisie owns and runs a bakery called Popular Pies. She puts an advertisement in the local newspaper as follows: "Why not order your special event pies from Popular Pies? We have cheese and...
-
Travelin Style manufactures camping trailers in a production facility in Brownsville, Texas. The company is only eight years old and manufactures small, medium, and large trailers, as well as custom...
-
Find a least expensive route, in monthly lease charges, between the pairs of computer centers in Exercise 11 using the lease charges given in Figure 2. a) Boston and Los Angeles b) New York and San...
-
In August 2010, Britains GlaxoSmithKline PLC (GSK) was facing the possibility that its highly profitable diabetes drug Avandia would have to be withdrawn from the US market. Sales of Avandia had...
-
There are many who believe that whatever is legal is ethical. Do you agree with this belief as it might apply to the international marketer? Explain your position and give examples of behaviour in...
-
Is it not better for an exporting company to use and objective measure of performance rather than a subjective measure? Discuss.
-
To what extent are the arguments for countries specialising and then trading with each other the same as those for individuals specialising in doing the jobs to which they are relatively well suited?
-
The following are four items that are traded internationally: wheat; computers; textiles; insurance. In which one of the four is each of the following most likely to have a comparative advantage:...
-
Debate the following: All arguments for restricting trade boil down to special pleading for particular interest groups. Ultimately there will be a net social cost from any trade restrictions.
Study smarter with the SolutionInn App