Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 3 . ( No language / platform restriction ) In a class at Chianga State University ( CSU ) , students struggle to return

Q3.(No language/platform restriction) In a class at Chianga State University (CSU), students struggle to return to the classroom on time at the end of the break time. The activities that students usually prefer to do during any break time are as follows (the time it takes to do the corresponding activity is also given): Grabbing food and/or drink from the cafeteria (7 minutes), Buying food and/or drink from the grocery store (9 minutes), Stopping by the restroom (5 minutes) Stopping by one of the professors' offices (6 minutes) Hanging out with friends (8 minutes), Going out to smoke (10 minutes). Develop a decision support system that guides students on the timing of their departure from where they go at break time so that they are not absent or late for attendance. A user form that asks the user (student) break time activity preference (a drop-down menu) and the current time, A message box that tells the user whether the activity is feasible (can be completed in the time left),
-if so, the latest time when the student leaves the spot (e.g, restroom, professor office, cafeteria) to be able to return to the classroom on time.
-If the activity is not feasible in the remaining time, then the message box tells the student, "Do not do in this break!"
Hint: You should construct and test the following mathematical expressions to make the corresponding activity is feasible or not; Remaining Time = Cutoff Time - Current Time Activity Duration = Remaining Time -If this comparison holds -> the activity is feasible -If not, the activity is not feasible. *Cutoff Time = xx:15, the latest time to return to the classroom.
image text in transcribed

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

Beginning C# 5.0 Databases

Authors: Vidya Vrat Agarwal

2nd Edition

1430242604, 978-1430242604

More Books

Students also viewed these Databases questions