Question: Java Programming Objectives To practice creating a class diagram. To practice creating a state diagram. Requirements: - Design a class diagram: I m feeling a

Java Programming
Objectives To practice creating a class diagram. To practice creating a state diagram. Requirements: - Design a class diagram: Im feeling a bit hungry... lets make a cookie called Unbelievably Massive & Lick-able (UML) cookies (aka sugar cookies with vanilla frosting). What goes into making such a cookie I wonder...: i. Sugar Cookie: 1. Butter 2. Sugar 3. Baking powder 4. Salt 5. Vanilla extract 6. Egg 7. Flour 8. Baking Soda 9. Milk ii. Frosting: 1. Confectioners Sugar (a specific type of sugar)2. Vanilla Bean Powder 3. Butter 4. Evaporated Milk (a specific type of milk)5. Vanilla extract Create a class diagram to represent a UML Cookies. (Hint: every ingredient I listed above, should be a class in your class diagram. (correct arrows) : No attributes or methods should be filled in. We only want skeleton classes. - Design a state diagram: Due later? Do later! a trend amongst many students, describing the proclivity to put off completing an assignment until such time that stress and anxiety reaches a fever pitch. In order to describe this, well identify 5 categories of stress/anxiety: Low Chill, plenty of time left. Medium Is that stress, or am I just hungry? High Better get this done, its keeping me up at night. Catastrophic Its over 9000!!!! None Assignment is done, time to relax. To explain when a students changes from one category to another, we will define the following situations: Becomes less than 3 days before due date/time.(Low -> Medium) Becomes less than 1 days before due date/time.(Medium -> High). Becomes less than 2 hours before due date/time.(High -> Catastrophic) Completes the assignment. (-> None) Using a state diagram, model this behavior as it has been described. Dont forget to show the initial state (Low) with an arrow coming in from nowhere..

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!