Question

In: Computer Science

Consider the following description below: A furniture company produces several products for sale. Each product (described...

Consider the following description below:

A furniture company produces several products for sale.

Each product (described by Product ID, name and price) is made up of one or more components (described by Component ID and name). A component can be used in one or more products.

A component can be a simple component or compound component. A compound component is one that contains one or more other components (which can be simple or compound components). A simple component is indivisible, i.e. it cannot contain other components.

The quantity of a component in a product must be recorded. For example, if product P contains 2 physical units of component C, the quantity 2 must be recorded. Similarly, if component C1 contain 4 physical unit of component C2, the quantity 4 must be recorded.

Using the Main Flow–Extensions format, write the description of the following use cases:

(i) Add a product, and

(ii) Remove a compound component

Solutions

Expert Solution

1. Use case Description for Add a product

Use Case ID UC01
Use Case Name Add a Product
Brief Description Company Employee add a product in order to sale it.
Actor Company Employee.
Pre-condition Employee login in order to add product .
Post-Condition Employee successfully add the product
Main-Flow
  • 1. Employee select a product .
  • 2. Set the product property like its ProductID, Name, Price.
  • 3. Add Product description like the product made up of which components.
  • 4. Set the Component ID , and name .
  • 5. Set the type of Component ( Simple or Compound)
  • 6. Set the Quantity of a Component
  • 7. Check the detail if any mistake or not.
  • 8. Submit product for add.
Alternate Flow
  • 1. Add product without its ProductID and name
  • 2. Add product without its Component details
  • 3. Not mention the Component ID
  • 4. Product not add due to insufficient information.

2 Use Case Description for Remove a Compound Component

Use Case ID UC02
Use Case Name Remove a Compound Component
Brief Description Company Employee remove a Compound Component.
Actor Company Employee
Pre-condition Employee login to the System in order to remove a Compound Component.
Post-Condition Employee successfully remove a Compound Component.
Main-Flow
  • 1. Employee select the product by using ProductID.
  • 2. Check the product Component type .
  • 3. If the Component Type is Compound .
  • 4. Select the Compound Type (Simple or Compound)
  • 6. Remove a Compound Component.
  • 7. Compound Component is remove Successfully
Alternate Flow
  • Compound Component is not present for the selected Product

Related Solutions

A Company produces two products. Relevant information for each product is shown in the Table below....
A Company produces two products. Relevant information for each product is shown in the Table below. The company has a goal of $48 in profits and incurs $1 penalty for each dollar it falls short of this goal. A total of 32 hours of labor are available. A $2 penalty is incurred for each hour of overtime (labor over 32 hours) used, and $1 penalty is incurred for each hour of available labor that is unused. Marketing considerations require at...
A company produces a product. Suppose the revenue for the sale of the product is given...
A company produces a product. Suppose the revenue for the sale of the product is given by the function R(q) below and the cost of producing the product is given by the function C(q) below where q represents how many units of the product the company produces and sells. Remembering that profit is equal to revenue - cost, find the quantity that produces the max profit this company can achieve. R(q) =550q C(q) = 5500+5q^2
There are several scenarios described below. For each of them, do the following (note: R.V. means...
There are several scenarios described below. For each of them, do the following (note: R.V. means random variable) (1) Define the R.V.--- that means something like, “Let X be the number of people who…..” (2) Define the distribution and parameter(s) of the R.V. (3) Give the support of the R.V. (4) Write the probability statement related to the information being sought. Do not calculate the probability. a) Joe is debugging a coding project. From prior experience, he expects to find...
Dalton Inc. produces and sells three products. Unit data concerning each product is shown below. Product...
Dalton Inc. produces and sells three products. Unit data concerning each product is shown below. Product D E F Selling price $181.00 $283.20 $233.00 Direct labor costs 28.60 83.60 34.10 Other variable costs 90.00 78.00 140.00 The company has 1,900 hours of labor available to build inventory in anticipation of the company’s peak season. Management is trying to decide which product should be produced. The direct labor hourly rate is $11. Product Direct Labor Cost Per unit Direct Labor Hours...
Dalton Inc. produces and sells three products. Unit data concerning each product is shown below. Product...
Dalton Inc. produces and sells three products. Unit data concerning each product is shown below. Product D E F Selling price $ 190.6 $ 297.5 $ 246.4 Direct labor costs 28.6 84.7 34.1 Other variable costs 97 78 141 The company has 2,200 hours of labor available to build inventory in anticipation of the company’s peak season. Management is trying to decide which product should be produced. The direct labor hourly rate is $ 11 . A) Number of direct...
During 2015, Company sold products for $800.000. Every sale was cash paid. Each product has a...
During 2015, Company sold products for $800.000. Every sale was cash paid. Each product has a 3 year warranty. The management of the Company estimates that the cost of the warranty is 3% of sales. a) Prepare journal entries for sales during the year and cost of the warranty. b) On January 1, 2015 the warranty liability account has a balance of 11600. During the year refunds because of the warranty totaled 20.400 of which 4.500 for 2015. Prepare journal...
1. A company produces and sells two different products. The demand for each product is unlimited,...
1. A company produces and sells two different products. The demand for each product is unlimited, but the company is constrained by cash availability and machine capacity. Each unit of the first and second product requires 3 and 4 machine hours, respectively. There are 20,000 machine hours available in the current production period. The production costs are $3 and $2 per unit of the first and second product, respectively. The selling prices of the first and second product are $6...
Command Company produces two types of electronic products, Product A and Product B. Electronic gaming products...
Command Company produces two types of electronic products, Product A and Product B. Electronic gaming products are hot products now and either product A or product b could be sold to keep the manufacturing facility operating a full capacity. The constraint is direct labour hours and it is insufficient to meet the combined demand for both.   Both products are processed through the same production departments. The relevant information is as follows: Product A Product B Sales Price $ $250 $140...
Eastern Manufacturing is involved with several situations that possibly involve contingencies. Each is described below. Eastern’s...
Eastern Manufacturing is involved with several situations that possibly involve contingencies. Each is described below. Eastern’s fiscal year ends December 31, and the 2016 financial statements are issued on March 15, 2017. a. Eastern is involved in a lawsuit resulting from a dispute with a supplier. On February 3, 2017, judgment was rendered against Eastern in the amount of $118 million plus interest, a total of $133 million. Eastern plans to appeal the judgment and is unable to predict its...
Eastern Manufacturing is involved with several situations that possibly involve contingencies. Each is described below. Eastern’s...
Eastern Manufacturing is involved with several situations that possibly involve contingencies. Each is described below. Eastern’s fiscal year ends December 31, and the 2021 financial statements are issued on March 15, 2022. Eastern is involved in a lawsuit resulting from a dispute with a supplier. On February 3, 2022, judgment was rendered against Eastern in the amount of $115 million plus interest, a total of $130 million. Eastern plans to appeal the judgment and is unable to predict its outcome...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT