The Program is Python.

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: 899604
Joined: Mon Aug 02, 2021 8:13 am

The Program is Python.

Post by answerhappygod »

The Program is Python.
The Program Is Python 1
The Program Is Python 1 (81.34 KiB) Viewed 15 times
The Program Is Python 2
The Program Is Python 2 (19.81 KiB) Viewed 15 times
This is a mini-programming project that allows you to try using what you have learned in this course to deal with a larger programming problem. It is alright not to complete the whole project. Just try your best to do as much as possible, and mark down the progress as required in the program header. Write a program that schedules the meetings in a conference room ("A") such that as many meetings as possible can be held on a given day. Any meetings that cannot be held in conference room A can be moved to another conference room ("B") if it is unoccupied during the requested period, otherwise the meeting is rejected. The meeting requests are stored in a CSV file meeting_requests.csv. A sample is shown below. Request, Start Time, End Time 1,1:30 PM, 2:30 PM 2,8:00 AM, 9:00 AM 3,9:30 AM, 11:00 AM 4,11:00 AM, 12:00 PM 5,3:00 PM, 5:00 PM 6,8:30 AM, 9:30 AM 7,3:00 PM, 5:30 PM 8,10:00 AM, 11:00 AM 9,11:00 AM, 11:30 AM 10,2:30 PM, 3:00 PM The occupancy schedule in Conference Room B is stored in another CSV file conf_B_sched.csv. A sample is shown below. Start Time, End Time 9:30 AM, 10:30 AM 2:00 PM, 4:00 PM The output for the sample inputs above are: Conference A Schedule: 2, 3, 9, 1, 10, 5 Conference B Schedule: 6, 4 Rejected Meetings: 8, 7
Additional requirements: • The program does not interact with the user. It reads data from the files, calculates and terminates after printing the results to the screen. • The two conference rooms are available for booking only from 08:00 AM 07:00 PM. Meeting requests with start or end time outside of the allowed period should be rejected. Submit q3a.py. [20 marks]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply