Write a program: Supermarket Promotions Even though this assignment carries a lot of points, it's smaller...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program: Supermarket Promotions Even though this assignment carries a lot of points, it's smaller and easier than the last two assignments. Hopefully this will give you an opportunity to get the SmartShelf in order if you have fallen behind. We will keep adding features to our supermarket so that we can have a Grand Finale at the end of the semester when all of them are working together. For this assignment we will be using some classes from our SmartShelf project, and we will enhance them a little bit, but there will be no major changes to our existing functionality. Your goal is to create a promotion feature for our supermarket. A promotion has a name, a discount rate, an expiration date, and a set of items it applies to. The supermarket has a list of active promotions that can determine the best discount for a given item based on what promotions apply to it. As in the real life, promotions cannot be combined. You should also write a demo program that tests your implementation. The demo program needs to instantiate three different promotions with different discount rates. You then need to add all chips items to the first one, all cereal items to the second one, and all even cereal and chips items in your original unsorted lists to the third one. You can then run through the list of cereals and chips and find the best promotion that applies. Your project should have the following: You should create an enumeration RetailItemType that will have four possible values, CEREAL, CHIPS, SODA, and SOAP. (1 point) You should enhance your RetailItem class: In addition to its immutable name it should also have an immutable field type of the RetailItemType enumeration type (1 point) It should override the hashCode () method using its two fields (2 points) It should also override the equals () method in strict adherence to the equals () contract. (3 points) Its compareTo() method should now use the concatenation of the String representation of the type and the name to compare two RetailItems. (1 point) Both subclasses of RetailItem, Cereal and Chips now need to pass their respective RetailItemTypes to super () in their constructors (2 points) Your findAndTake () method of Smart Shelf class, and IShelfCustomer interface needs to take an additional RetailItemType parameter. (2 points) Your takeFromShelf () method of the Customer class also needs to take an additional RetailItemType parameter. (1 point) All the above tasks are a part of a typical refactoring exercise resulting from adding a retail item type to retail items. Your IDE should guide you through this process without much trouble. When it's all done your SmartShelf and SmartShelf Demo should work as before we will need this in the future. - Now the new code: You should create a Promotion class. This class should have the following: Four private immutable fields and a constructor that initializes them: (4 points) name O discount percentage o expiration date - use java.time.LocalDate to hold the date value a set of items the promotion applies to - use a HashSet to hold the items Getters for all of them except the item set (1 point) A public method determine Discount () that takes a retail item and returns the promotion discount percentage if the promotion applies to it and 0 otherwise (1 point) A public method addItem() that takes a retail item and adds it to the set of items (1 point) A public method addAllItems () that takes a Collection of items and adds all of its items. This method should be generic - make sure to create the correct type parameter for it. (2 points) You should create an Active Promotions class. This class should have the following: . . A List of active promotions. Think of what List implementation is most suitable (1 point) A method to add a promotion to the list (1 point) A method to remove a promotion with a given name from the list. You should use an iterator to iterate through the list and remove the promotion if found (2 points) A method to remove all expired promotions from the list. You should use an iterator to iterate through the list and remove all expired promotions if found. Use is Before () method of LocalDate to determine if a promotion has expired (2 points) A method that finds and returns the best promotion for a given item. Use the enhanced for loop to iterate over the list of promotions and ask each of them to determine the discount for the item (sequential search) (2 points) You should also create a Promotion Demo class. It should have method print Best Promos () that takes an ArrayList of items and an Acitve Promotions object and prints the best promotion for each member of the ArrayList. This method needs to be generic - think of a correct type parameter for it. (3 points) Its main () method needs to: o Create unsorted ArrayLists of cereals and chips - copy and paste from your SmartShelf demo (1 point) o Create three promotions with different names, discounts and expiration dates. One promotion should be expired. (1 point) o Add all chips to the first promo, all cereals to the second promo and all even elements of both chips and cereals to the third promo. (1 point) o Instantiate Active Promotions and add all three promotions to it. (1 point) Print the best promotions for each item of both ArrayLists by calling the print Best Promos () method. (1 point) o Remove the expired promotion (use LocalDate.now() for this) and print the best promotions for each item of both ArrayLists by calling the printBest Promos () again. (1 point) o Remove one of the remaining promotions by name and print the best promotions for each item of both ArrayLists by calling the print Best Promos () one more time. (1 point) Your output should look similar to this: Cereal: Corn Flakes Apple Jacks Reese's Puffs Honey Nut Cheerios Corn Flakes Apple Jacks Honey Nut Cheerios Raisin Bran Crunch Froot Loops Reese's Puffs Thanksgiving Columbus Thanksgiving Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 20% 5% 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Columbus Thanksgiving Columbus Thanksgiving Thanksgiving Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 Expires: 2021-11-28 20% 5% 20% 5 % 20% 20% Corn Flakes Frosted Flakes. Lucky Charms Thanksgiving Honey Bunches of Oats Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 20% 20% 20% Thanksgiving Expires: 2021-11-28 20% Rice Krispies Fruity Pebbles Thanksgiving Columbus Expires: 2021-11-28 20% 5% Frosted Mini-Wheats Froot Loops 20% 20% Lucky Charms 20% 20% 20% 20% 20% 5 % 20% Cheerios Reese's Puffs Honey Nut Cheerios. Cheerios Cinnamon Toast Crunch Honey Bunches of Oats Froot Loops Frosted Flakes Honey Bunches of Oats Honey Nut Cheerios Chips: Expires: 2021-10-11 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Columbus Expires: 2021-10-11 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 20% 20% 20% 20% Doritos Pringles Lays Funyuns Cheetos Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Thanksgiving 20% 10% 20% Expires: 2021-10-31 10% Ruffles Halloween Fritos Takis Lays Funyuns. Cheetos Ruffles Fritos Expires: 2021-11-28 Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween 20% 10% 20% 10% 20% 10% 20% 10% 20% 10% 20% Expires: 2021-10-31 10% Takis Sun Chips Tostitos Removed expired Cereal: Corn Flakes Apple Jacks Reese's Puffs Honey Nut Cheerios Corn Flakes Apple Jacks Honey Nut Cheerios Raisin Bran Crunch Froot Loops Reese's Puffs: Corn Flakes Honey Bunches of Oats Frosted Flakes. Lucky Charms Thanksgiving Expires: 2021-11-28 20% No active promo Thanksgiving Expires: 2021-11-28 Thanksgiving 20% Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% No active promo Thanksgiving Expires: 2021-11-28 No active promo 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Rice Krispies Fruity Pebbles Froot Loops Thanksgiving Expires: 2021-11-28 No active promo 20% Frosted Mini-Wheats Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Lucky Charms Cheerios Reese's Puffs. Honey Nut Cheerios Cheerios Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Cinnamon Toast Crunch Honey Bunches of Oats No active promo Thanksgiving Expires: 2021-11-28 20% Froot Loops Frosted Flakes Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Honey Bunches of Oats Thanksgiving Expires: 2021-11-28 20% Honey Nut Cheerios Thanksgiving Expires: 2021-11-28 20% Chips: Doritos. Pringles Lays Thanksgiving Halloween Expires: 2021-11-28 20% Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Funyuns Cheetos Ruffles Fritos Takis Halloween Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Lays Thanksgiving Expires: 2021-11-28 20% Funyuns Halloween Expires: 2021-10-31 10% Cheetos Ruffles Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Fritos Takis Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Sun Chips Tostitos Removed Thanksgiving Cereal: Corn Flakes Thanksgiving Halloween Expires: 2021-11-28 20% Expires: 2021-10-31 10% No active promo Apple Jacks No active promo Reese's Puffs. No active promo Honey Nut Cheerios No active promo Corn Flakes No active promo Apple Jacks No active promo Honey Nut Cheerios No active promo Raisin Bran Crunch No active promo Froot Loops No active promo Reese's Puffs. No active promo Corn Flakes Frosted Flakes. Lucky Charms Rice Krispies No active promo Honey Bunches of Oats No active promo No active promo No active promo No active promo Fruity Pebbles No active promo Frosted Mini-Wheats No active promo Froot Loops No active promo Cheerios Lucky Charms Reese's Puffs Honey Nut Cheerios. Cheerios Cinnamon Toast Crunch Honey Bunches of Oats Froot Loops No active promo No active promo No active promo No active promo No active promo No active promo. No active promo No active promo Frosted Flakes. Honey Bunches of Oats Honey Nut Cheerios Chips: No active promo No active promo No active promo. Doritos Halloween Expires: 2021-10-31 10% Pringles Halloween Expires: 2021-10-31 10% Lays Halloween Expires: 2021-10-31 10% Funyuns Halloween Expires: 2021-10-31 10% Cheetos Halloween Expires: 2021-10-31 10% Ruffles Halloween Expires: 2021-10-31 10% Fritos Halloween Expires: 2021-10-31 10% Takis Halloween Expires: 2021-10-31 10% Lays Halloween Expires: 2021-10-31 10% Funyuns Halloween. Expires: 2021-10-31 10% Cheetos Halloween Expires: 2021-10-31 10% Ruffles Halloween Expires: 2021-10-31 10% Fritos Takis Halloween Expires: 2021-10-31 10% Halloween Expires: 2021-10-31 10% Sun Chips Halloween Expires: 2021-10-31 10% Tostitos Halloween. Expires: 2021-10-31 10% Notes: Your classes and methods should have javadocs. Uncommented code is an automatic 1-point deduction. Follow the Assignment documentation format (published in Canvas). Incorrectly formatted submissions will have an automatic 1-point deduction. Never edit the program output. Program output inconsistent with the code is an automatic 0 for the assignment. Write a program: Supermarket Promotions Even though this assignment carries a lot of points, it's smaller and easier than the last two assignments. Hopefully this will give you an opportunity to get the SmartShelf in order if you have fallen behind. We will keep adding features to our supermarket so that we can have a Grand Finale at the end of the semester when all of them are working together. For this assignment we will be using some classes from our SmartShelf project, and we will enhance them a little bit, but there will be no major changes to our existing functionality. Your goal is to create a promotion feature for our supermarket. A promotion has a name, a discount rate, an expiration date, and a set of items it applies to. The supermarket has a list of active promotions that can determine the best discount for a given item based on what promotions apply to it. As in the real life, promotions cannot be combined. You should also write a demo program that tests your implementation. The demo program needs to instantiate three different promotions with different discount rates. You then need to add all chips items to the first one, all cereal items to the second one, and all even cereal and chips items in your original unsorted lists to the third one. You can then run through the list of cereals and chips and find the best promotion that applies. Your project should have the following: You should create an enumeration RetailItemType that will have four possible values, CEREAL, CHIPS, SODA, and SOAP. (1 point) You should enhance your RetailItem class: In addition to its immutable name it should also have an immutable field type of the RetailItemType enumeration type (1 point) It should override the hashCode () method using its two fields (2 points) It should also override the equals () method in strict adherence to the equals () contract. (3 points) Its compareTo() method should now use the concatenation of the String representation of the type and the name to compare two RetailItems. (1 point) Both subclasses of RetailItem, Cereal and Chips now need to pass their respective RetailItemTypes to super () in their constructors (2 points) Your findAndTake () method of Smart Shelf class, and IShelfCustomer interface needs to take an additional RetailItemType parameter. (2 points) Your takeFromShelf () method of the Customer class also needs to take an additional RetailItemType parameter. (1 point) All the above tasks are a part of a typical refactoring exercise resulting from adding a retail item type to retail items. Your IDE should guide you through this process without much trouble. When it's all done your SmartShelf and SmartShelf Demo should work as before we will need this in the future. - Now the new code: You should create a Promotion class. This class should have the following: Four private immutable fields and a constructor that initializes them: (4 points) name O discount percentage o expiration date - use java.time.LocalDate to hold the date value a set of items the promotion applies to - use a HashSet to hold the items Getters for all of them except the item set (1 point) A public method determine Discount () that takes a retail item and returns the promotion discount percentage if the promotion applies to it and 0 otherwise (1 point) A public method addItem() that takes a retail item and adds it to the set of items (1 point) A public method addAllItems () that takes a Collection of items and adds all of its items. This method should be generic - make sure to create the correct type parameter for it. (2 points) You should create an Active Promotions class. This class should have the following: . . A List of active promotions. Think of what List implementation is most suitable (1 point) A method to add a promotion to the list (1 point) A method to remove a promotion with a given name from the list. You should use an iterator to iterate through the list and remove the promotion if found (2 points) A method to remove all expired promotions from the list. You should use an iterator to iterate through the list and remove all expired promotions if found. Use is Before () method of LocalDate to determine if a promotion has expired (2 points) A method that finds and returns the best promotion for a given item. Use the enhanced for loop to iterate over the list of promotions and ask each of them to determine the discount for the item (sequential search) (2 points) You should also create a Promotion Demo class. It should have method print Best Promos () that takes an ArrayList of items and an Acitve Promotions object and prints the best promotion for each member of the ArrayList. This method needs to be generic - think of a correct type parameter for it. (3 points) Its main () method needs to: o Create unsorted ArrayLists of cereals and chips - copy and paste from your SmartShelf demo (1 point) o Create three promotions with different names, discounts and expiration dates. One promotion should be expired. (1 point) o Add all chips to the first promo, all cereals to the second promo and all even elements of both chips and cereals to the third promo. (1 point) o Instantiate Active Promotions and add all three promotions to it. (1 point) Print the best promotions for each item of both ArrayLists by calling the print Best Promos () method. (1 point) o Remove the expired promotion (use LocalDate.now() for this) and print the best promotions for each item of both ArrayLists by calling the printBest Promos () again. (1 point) o Remove one of the remaining promotions by name and print the best promotions for each item of both ArrayLists by calling the print Best Promos () one more time. (1 point) Your output should look similar to this: Cereal: Corn Flakes Apple Jacks Reese's Puffs Honey Nut Cheerios Corn Flakes Apple Jacks Honey Nut Cheerios Raisin Bran Crunch Froot Loops Reese's Puffs Thanksgiving Columbus Thanksgiving Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 20% 5% 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Columbus Thanksgiving Columbus Thanksgiving Thanksgiving Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 Expires: 2021-10-11 Expires: 2021-11-28 Expires: 2021-11-28 20% 5% 20% 5 % 20% 20% Corn Flakes Frosted Flakes. Lucky Charms Thanksgiving Honey Bunches of Oats Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 20% 20% 20% Thanksgiving Expires: 2021-11-28 20% Rice Krispies Fruity Pebbles Thanksgiving Columbus Expires: 2021-11-28 20% 5% Frosted Mini-Wheats Froot Loops 20% 20% Lucky Charms 20% 20% 20% 20% 20% 5 % 20% Cheerios Reese's Puffs Honey Nut Cheerios. Cheerios Cinnamon Toast Crunch Honey Bunches of Oats Froot Loops Frosted Flakes Honey Bunches of Oats Honey Nut Cheerios Chips: Expires: 2021-10-11 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Columbus Expires: 2021-10-11 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 Thanksgiving Expires: 2021-11-28 20% 20% 20% 20% Doritos Pringles Lays Funyuns Cheetos Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Thanksgiving 20% 10% 20% Expires: 2021-10-31 10% Ruffles Halloween Fritos Takis Lays Funyuns. Cheetos Ruffles Fritos Expires: 2021-11-28 Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween Expires: 2021-10-31 Thanksgiving Expires: 2021-11-28 Halloween 20% 10% 20% 10% 20% 10% 20% 10% 20% 10% 20% Expires: 2021-10-31 10% Takis Sun Chips Tostitos Removed expired Cereal: Corn Flakes Apple Jacks Reese's Puffs Honey Nut Cheerios Corn Flakes Apple Jacks Honey Nut Cheerios Raisin Bran Crunch Froot Loops Reese's Puffs: Corn Flakes Honey Bunches of Oats Frosted Flakes. Lucky Charms Thanksgiving Expires: 2021-11-28 20% No active promo Thanksgiving Expires: 2021-11-28 Thanksgiving 20% Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% No active promo Thanksgiving Expires: 2021-11-28 No active promo 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Rice Krispies Fruity Pebbles Froot Loops Thanksgiving Expires: 2021-11-28 No active promo 20% Frosted Mini-Wheats Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Lucky Charms Cheerios Reese's Puffs. Honey Nut Cheerios Cheerios Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Cinnamon Toast Crunch Honey Bunches of Oats No active promo Thanksgiving Expires: 2021-11-28 20% Froot Loops Frosted Flakes Thanksgiving Expires: 2021-11-28 20% Thanksgiving Expires: 2021-11-28 20% Honey Bunches of Oats Thanksgiving Expires: 2021-11-28 20% Honey Nut Cheerios Thanksgiving Expires: 2021-11-28 20% Chips: Doritos. Pringles Lays Thanksgiving Halloween Expires: 2021-11-28 20% Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Funyuns Cheetos Ruffles Fritos Takis Halloween Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Lays Thanksgiving Expires: 2021-11-28 20% Funyuns Halloween Expires: 2021-10-31 10% Cheetos Ruffles Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Fritos Takis Thanksgiving Expires: 2021-11-28 20% Halloween Expires: 2021-10-31 10% Sun Chips Tostitos Removed Thanksgiving Cereal: Corn Flakes Thanksgiving Halloween Expires: 2021-11-28 20% Expires: 2021-10-31 10% No active promo Apple Jacks No active promo Reese's Puffs. No active promo Honey Nut Cheerios No active promo Corn Flakes No active promo Apple Jacks No active promo Honey Nut Cheerios No active promo Raisin Bran Crunch No active promo Froot Loops No active promo Reese's Puffs. No active promo Corn Flakes Frosted Flakes. Lucky Charms Rice Krispies No active promo Honey Bunches of Oats No active promo No active promo No active promo No active promo Fruity Pebbles No active promo Frosted Mini-Wheats No active promo Froot Loops No active promo Cheerios Lucky Charms Reese's Puffs Honey Nut Cheerios. Cheerios Cinnamon Toast Crunch Honey Bunches of Oats Froot Loops No active promo No active promo No active promo No active promo No active promo No active promo. No active promo No active promo Frosted Flakes. Honey Bunches of Oats Honey Nut Cheerios Chips: No active promo No active promo No active promo. Doritos Halloween Expires: 2021-10-31 10% Pringles Halloween Expires: 2021-10-31 10% Lays Halloween Expires: 2021-10-31 10% Funyuns Halloween Expires: 2021-10-31 10% Cheetos Halloween Expires: 2021-10-31 10% Ruffles Halloween Expires: 2021-10-31 10% Fritos Halloween Expires: 2021-10-31 10% Takis Halloween Expires: 2021-10-31 10% Lays Halloween Expires: 2021-10-31 10% Funyuns Halloween. Expires: 2021-10-31 10% Cheetos Halloween Expires: 2021-10-31 10% Ruffles Halloween Expires: 2021-10-31 10% Fritos Takis Halloween Expires: 2021-10-31 10% Halloween Expires: 2021-10-31 10% Sun Chips Halloween Expires: 2021-10-31 10% Tostitos Halloween. Expires: 2021-10-31 10% Notes: Your classes and methods should have javadocs. Uncommented code is an automatic 1-point deduction. Follow the Assignment documentation format (published in Canvas). Incorrectly formatted submissions will have an automatic 1-point deduction. Never edit the program output. Program output inconsistent with the code is an automatic 0 for the assignment.
Expert Answer:
Related Book For
Data Modeling and Database Design
ISBN: 978-1285085258
2nd edition
Authors: Narayan S. Umanath, Richard W. Scammel
Posted Date:
Students also viewed these programming questions
-
Image transcription text Module 5 Discussion A' Instructions: This discussion will be completed in two parts, and will give you an opportunity to reect upon this week's content and to interact with...
-
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...
-
A heat engine cycle is executed with ammonia in the saturation dome. The pressure of ammonia is 1.5 MPa during heat addition and 0.6 MPa during heat rejection. What is the highest possible thermal...
-
The following information was taken from the ledger of Paulson Roping: The Forming Department had 10,250 partially complete units in beginning work in process inventory. The department started work...
-
What is your marginal rate of substitution of $1 bills for $5 bills?
-
Derive the frequency equation for the transverse vibration of a uniform beam resting on springs at both ends, as shown in Fig. 8.33. The springs can deflect vertically only, and the beam is...
-
Best Buy Co., Inc.s consolidated balance sheets from its 2009 annual report are presented in Exhibit 5-3. Required a. Using the balance sheets, prepare a vertical common-size analysis for 2009 and...
-
Home Depot's cash conversion cycles are reported as follows: Days sales outstanding (DSO) + Days inventory outstanding (DIO) - Days payable outstanding (DPO) Cash conversion cycle Sales (Revenues)...
-
Variable and fixed costs, profitability of order, opportunity cost Healthy Hearth specializes in lunches for health-conscious people. The company produces a small selection of lunch offerings each...
-
Pre-process waits feel a. longer b. shorter c. the same than in-process waits. Separating customers based on their priority or requests leads to high service levels. True False
-
Use observer pattern, Provide class diagram for system to include classes Stock System, User A,User B.Your design should be easy to introduce new types of user components (eg user C) interested in...
-
Go tohttps://www.blockchain.com/explorer?view=btc and search " 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa ", and select "BTC Address" What is the final balance of this address? How many transactions were...
-
A. Record the adjustments in the adjustments columns on the worksheet; then complete the worksheet. [26 points] Record the adjustments in the formatted journal entries at the bottom of the worksheet....
-
Watch the following scenario. The victim has notified 9 1 1 . You walking into the kitchen and found her laying there. As a first responder, what first aid steps would you take until EMS arrive and...
-
1. 2. Does compression steel yield at Mn (nominal moment)? Find Mn (design moment strength.
-
1 The following information pertains to the inventory of the Wilson Company: 2 Jan. 1 Beginning Inventory 250 units @ $ 26 $ Purchased 3 26 4 May 1 2,000 units @ 30 Nov. 1 Purchased 1,200 units @ 32...
-
Inexhaustible collections of ONPOs are not required to be capitalized or depreciated, if certain criteria are met. Why is this so, and what accounting and reporting recognition, if any, is required...
-
Describe the limitations of file-processing systems. How do database systems make it possible to overcome these limitations?
-
Describe the types of modifications that can be made to a table using the ALTER TABLE statement.
-
What would cause a relational schema for a database to contain more relation schemas than there are entity types?
-
Briefly explain the connections between values such as effort optimism, utilitarian individualism, and the American economic system. Throughout this chapter, we have identified culture as something...
-
Do you speak a language other than English as a first language? If so, do you want your children and grandchildren to speak that language? In the United States, the tools of government and education...
-
If English is your first language, did your parents or grandparents speak a different first language? How do you feel about your ability (or lack of ability) in that language? In the United States,...
Study smarter with the SolutionInn App