WRITE A JAVA CODE FOR THIS QUESTION!!!!! dont solve the question

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

WRITE A JAVA CODE FOR THIS QUESTION!!!!! dont solve the question

Post by answerhappygod »

WRITE A JAVA CODE FOR THIS QUESTION!!!!! dont solve the
question
Write A Java Code For This Question Dont Solve The Question 1
Write A Java Code For This Question Dont Solve The Question 1 (78.08 KiB) Viewed 22 times
Question 3 (40 points)Consider a fast-food restaurant. This company has a drive-through service. This service has two processes which are ordering and delivery. When a consumer arrives, the system first gives an order and then goes to the delivery point. Travel time from the ordering to the delivery point is considered negligible. The ordering point has room for two cars (If a new car arrives and there are two cars in ordering the part, the new car immediately leaves the system). When the ordering is complete, if delivery is occupying another car, the car cannot leave the ordering point. That means the new cannot order. There are two workers, one for ordering and one for delivery in the restaurant. The system is empty and the resource are idle at time 0. The following table shows the arrival and service times (in minutes): ID 1 2 3 4 Arrive Time 0 1 2 4 Figure 1: Data set for Q3 Ordering Delivery ID Arrive Time 3 8 5 6 2 6 6 13 1 3 7 22 3 4 8 45 Ordering 2 1 2. 3 Delivery 6 1 1 2 a. (30 points) Run the simulation for 10 minutes. Construct the simulation table (including event calendar and the required statistic accumulators) for 10 minutes. Please keep only the required statistics (see part b and c). b. (5 points) What is the utilization of the ordering worker and the delivery worker? Show all your work. c. (5 points) What is the number of missing consumer? Show all your work.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply