Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Some products, such as GPS, iPhone 7, etc., are currently out of stock in Bestbuy. Some customers want to be notified if these products

1. Some products, such as GPS, iPhone 7, etc., are currently out of stock in Bestbuy. Some customers want to be notified if these products become available again. Please create a sequence diagram and a class diagram for the analysis and design.

2. Imagine that you are developing a lighting system. A switch has on and off states. When the switch is turned to on, the light should be turned on. Otherwise, the light should be turned off. Suppose that we have different types of switches, such as a regular switch attaching to the wall or a remote control switch that can remotely turn on/off the light. Please draw a statechart diagram and a class diagram for your analysis and design.

3. Imagine that you will develop a web system for a rural area, which only has very slow Internet connection. As downloading images is pretty time consuming, you want to make a place holder for the image when initializing a web page. We want to show the text portion as soon as possible. The real images are displayed after the text portion has been downloaded. This strategy is good because users have something to see when they try to open a web page. Otherwise, they will lose patience if they have to wait for a long time to see the web page. Please use the class diagram to make the design.

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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions