Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Software Engineering Expert

(1) Developing a UML Statechart

- Read the Background and Requirements sections for detailed information about the system.

- Create a UML Statechart diagram to express the behavior of the model. You must use a drawing tool to prepare your diagram, ensuring that it is clear and legible.

(2) Interpreting and Producing OCL Expressions

- You are provided a UML Class model that describes a certain scenario. Using this model, you must create OCL expressions, and also provide English interpretations for some OCL expressions.

Include all of your answers for both parts of the assignment in a single PDF file named statechart_ocl.pdf on T-Square. Your PDF must include your UML Statechart, your OCL Expressions, and any additional assumptions that you are making.

(1) UML Statechart Scenario: You have been asked to analyze and diagram the behavior of a specific model of home dehumidifiers. The company for which you are working has already produced a UML Statechart for an earlier, much more basic model of their dehumidifier. You have been tasked to model the behavior of the newer, proposed system, which is significantly more advanced. The system behavior is described in the System Requirements Section below, and you must provide a corresponding UML Statechart diagram that reflects these requirements.

System Requirements:

We've developed a very basic dehumidifier model already. This model was designed with a fixed, non-adjustable humidity level, a single fan speed, and an automatic shutoff if the water tank is full. The UML Statechart that we've provided you corresponds to this very basic model. The intent of providing the diagram is to help you get an intuitive feel for the basic dehumidifier functionality. You are welcome to use this diagram as a starting point for your own efforts, simply study it to gather useful ideas, or disregard it and start from scratch.

In contrast, you've been tasked to develop a UML Statechart for a more advanced model, which improves on the basic model by adding an adjustable humidity level, multiple fan speeds, and energy saver settings. The dehumidifier has a fan motor (to create airflow through the unit), and a separate compressor motor (to draw moisture from the air). We've attached a copy of the dehumidifier instructions that describe the control panel and the basic features,

Scenario: You have been asked to analyze the design of a Java Project in order to manage an online shopping cart system. Within the preliminary design that has been created, seven Java classes have been designed: User, Customer, Administrator, Shopping Cart, Orders, Order Details and Shipping Info.

- The shippingRegionId is used to represent certain geographic areas that might have various legal restrictions on certain items

- To simplify the problem, you may assume that there are functions that can be used to compare the date attributes (e.g. dateAdded, dateCreated, dateShipped) and determine if one precedes the other; also, dates can be converted to integers to support incrementing values by hours, days, etc.

Given this design, you must write the following constraints in OCL, in each case making the context clear:

1. If the shipping type for and order is "express", then the order must be shipped within 48 hours of the date it is created.

2. If a customer creates an order that includes more than $100 of merchandise, then they should receive free shipping for all of the included items.

3. Drones (represented by product IDs 50 through 99, inclusive) may not be shipped to Area 51 (represented by shipping region 19).

Also, another analyst generated the OCL expressions below. Provide a clear and concise interpretation for each of these expressions in English.

1. context Orders inv:

orders.dateShipped - orders.dateCreated >= 7 days implies orders.shippingCost = 0

2. context OrderDetails inv:

orderDetails.calcPrice >= orderDetails.quantity * orderDetails.unitPrice

Attachment:- Instructions.rar

Software Engineering, Computer Science

  • Category:- Software Engineering
  • Reference No.:- M92488837
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Software Engineering

Overviewyou are required to modify and logically extend

Overview You are required to modify and logically extend the functionality of a provided code base to implement a game. This requires you to modify the code base as well as create documentation and implement various user ...

Reply to this article with apa referencehate crimes

Reply to this article with APA reference. Hate crimes According to Merriam-Webster, hate crime is any of various crimes (such as assault or defacement of property) when motivated by hostility to the victim as a member of ...

Proposaldesign of an efficient gps tracking system tag for

Proposal Design of an efficient GPS Tracking System (tag) for monitoring small species IMPLEMENTING EMBEDDED SYSTEMS USING SYSML Task Using PapyrusSysML Software (Downloadable online - Evaluation Copy- Latest Version) Mo ...

In this assignment you will answer the following review

In this assignment, you will answer the following review questions from the reading materials of the module/week. 1. "What are the key components of a typical P2P application? Describe their functions." 2. "What are the ...

Write review on this article with apa formatalthough

Write review on this article with APA format. Although computer crimes are being seen in our society more and more each day, it is still difficult to prosecute people who commit these crimes mainly because everything is ...

Instructionsprivacy-preserving data miningdata mining

INSTRUCTIONS PRIVACY-PRESERVING DATA MINING Data mining technology can be exploited to reveal sensitive information from the original data. Thus it is important to preservethe privacy of the parties that the data refer t ...

In this assignment you will answer the following questions

In this assignment, you will answer the following questions related to Android platform and Android security design. 1. Describe Android architecture in detail by explaining the four conceptual layers. 2. Describe Androi ...

Assignment lab - statement of workclient liberty vacation

Assignment Lab - Statement of Work Client: Liberty Vacation Planning Inc. (LVP) Project: Website Assessment 1. Project Objectives With this statement of work, LVP is engaging you to conduct a website assessment to determ ...

Assignment part 1objectives to learn to identify the

Assignment Part 1 Objectives: To learn to identify the relevant use cases for a given application, describe the use cases and develop an object-oriented domain model. Problem Statement - Standing Orders Management System ...

Write review on this article with apa formatgovernment

Write review on this article with APA format. Government surveillance is a major issue in the United States and globally. Surveillance refers to any collection and processing of personal data, whether, identifiable or no ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As