Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Coding Projects 150 pts You are an airport operations software engineer. Part of your job is to write a program that manages a computerized
Coding Projects 150 pts You are an airport operations software engineer. Part of your job is to write a program that manages a computerized list of departures and arrivals to/from your small impoverished island's single busy airport. Because of the condition of many of the airplanes in your country's airline, airline crashes are very frequent, often several per day. When an airplane crashes, you remove that aircraft from your flight schedule, which conveniently opens spots in your list for other aircraft, which are frequently standing by, waiting for a slot to open up. Additionally, since the island's airport is small, arriving pilots frequently make navigation errors and land on the wrong island. This also opens up slots in your list. Additionally, social cohesion is poor in your country, and flights are frequently canceled because of belligerent passengers and fistfights in the aisles of aircraft. These aircraft are also pulled from the list at the last minute. Mechanical problems, drunk pilots, missing. possibly repossessed planes, and strikes, are other operational challenges causing you and your software untold headaches and flight cancellations. If that weren't enough, the corrupt president of your country is very moody and travels to and from your airport for last-minute shopping junkets and "diplomatic" excursions. His flights are almost always unscheduled and because he's the president, his plane jumps the line of scheduled departures and arrivals. The president's top cronies and generals have similar privileges and frequently also jump the queue on their junkets into and out of the country on private or military planes. As a well-trained software engineer, luckily, you have had the foresight of using a linked list for your flight schedules. Link lists, luckily for you, are very efficient for performing frequent delete and insert operations on a list, and adding items to the front or end of the list. If you had instead used a regular list like an ArrayList, (which would require complex shifting of items in your list when doing these types of operations), your country might be even more chaotic! You deserve a raise for your good thinking, but unfortunately, you have not been paid for several months because of corruption and mismanagement of the airport budget.
Step by Step Solution
★★★★★
3.32 Rating (149 Votes )
There are 3 Steps involved in it
Step: 1
This is a great scenario for using a linked list Heres a breakdown of why its a good choice and the ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started