Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1.An image processing tool has a collection of built-in geometry shapes. A user can drag and drop these shapes into a canvas and use them

1.An image processing tool has a collection of built-in geometry shapes. A user can drag and drop these shapes into a canvas and use them as part of his/her artwork. Which design pattern can be applied here to support the creation of artwork from built-in shapes?

Pick the design pattern below that applies then explain as to why?

Singleton

Object Pool

Filter

Read-Only Interface

Motivation

Composite

Builder

Prototype

Abstract Factory

Factory Method

Proxy

Immutable Objects

Object Comparision

Marker Interface

Java Cloneable Interface

2. In a university, there are students in their freshman, sophomore, junior, or senior year, and students can enroll into majors offered by four schools: School of Science, School of Business, School of Engineering, and School of Humanity. What design pattern(s) can be used to design a system that allows a student to pursue more than one major? Check all that apply

Delegation

Filter

Abstract class

Builder

Proxy

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_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

Practical Issues In Database Management A Refernce For The Thinking Practitioner

Authors: Fabian Pascal

1st Edition

0201485559, 978-0201485554

More Books

Students also viewed these Databases questions

Question

3. Would you say that effective teamwork saved their lives?

Answered: 1 week ago