Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step: 3

blur-text-image

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

Mastering Big Data Interview 751 Comprehensive Questions And Expert Answers

Authors: Mr Bhanu Pratap Mahato

1st Edition

B0CLNT3NVD, 979-8865047216

More Books

Students also viewed these Databases questions