You are head of maintenance scheduling for Brown Bag Airlines. You have three cr
ID: 3584420 • Letter: Y
Question
You are head of maintenance scheduling for Brown Bag Airlines. You have three crews with different qualifications as follows: Crew Number Level Cost of Crew Per Hour 0 1 $200 1 2 $300 2 3 $400 Crew 2 is certified to do all levels of maintenance work, but cost more per hour than the other crews. Crew 1 can do maintenance work requiring skills 1 and 2, but not skill 3. Crew 0 can do maintenance work only at level 1. You need to schedule the following maintenance: Aircraft ID Level of Maintenance Number of Hours 7899 1 8 3119 1 6 7668 1 4 2324 2 4 1123 2 8 7555 2 4 6789 3 2 7888 3 10 Write the following functions and create a scheduling library for them: a. A function (name: ScanCd) to scan and store crew data in an appropriate structure. b. A function (name: ScanMd) to scan and store in an appropriate structure the required maintenance data. c. A function (name: CheckLc) that checks maintenance level required against the crew abilities and returns the number of the lowest-cost crew that can perform the maintenance. d. A function (CheckQc) that checks the maintenance level required against the crew abilities and current schedule and returns the number of the qualified crew that will be free to perform the maintenance at the earliest time. If more than one crew satisfies the functionExplanation / Answer
A function (name: ScanCd) to scan and store crew data in an appropriate structure.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.