Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Aircraft Decision Tree This assignment implements a hypothetical troubleshooting tree for possible engine failure in light aircraft. DO NOT FOLLOW IN A REAL EMERGENCY! A

image text in transcribed

image text in transcribed

Aircraft Decision Tree This assignment implements a hypothetical troubleshooting tree for possible engine failure in light aircraft. DO NOT FOLLOW IN A REAL EMERGENCY! A decision tree is an Artificial Intelligence method for arriving at a decision based upon a collection of IF state- ments. The computer asks a question and responds, based upon the answer. The computer only asks the relevant question based upon the user's answers (ie you don't ask all the questions and then try to sort it out.) This program is menu driven. This presents four potential emer- gency situations: Communications Failure, Engine Failure, In- flight Icing, Quit Communications Failure - This option only leads to 1 element, "Switch to Alternate Radio." Engine Failure - This activates the decision tree. This is basically a collection of IF statements arranged in a hierarchy. This is shown on the second diagram below. In-Flight Icing - Prompt the pilot for the estimated amount of ice on the wings (omm to 10mm). Aircraft will not fly with more than 10mm of ice (and pilots will not be operating this system). - The amount of ice determines how much power to use to ener- gize the deicing boots. Less then imm, 5% power * 1 - 5 mm, 20% power * 5.1 - 9 mm, 65% power * 9.1 - 10 mm, 100% power Main Menu Com Failure Engine Failure Icing Quit Your task is to write an Emergency Al Decision Making program that is used by pilots of the AA Aircraft company for troubleshooting in case of possible engine failure. Follow the directions given in the document called "Aircraft Decision Tree" in the file "Emergency Decision Making.pdf" This program implements the top level menu option 'E' of the Airport Application and constitutes Part 1 of the Airport Application Project requirement. When the user selects 'E' in the airport application, she will be taken to the "page" that is displayed by this program. In the next few weeks you will write other programs that implement options 'R' (Flight Status Report) and 'S' (Seat Reservation and Cancellation). You will be asked to integrate all these programs into the top level menu of the airport application for your mid-term exam. In addition, one part of your mid-term exam will consist of upgrading the Flight Status Report program. Each of these programs that are part of the Airport Application will themselves be menu driven. Requirements: The menu options for this program are 'C' : Communications Failure 'E': Engine Failure T : In Flight Icing 'Q': Quit This menu will offer input validation, accept lowercase response and repeatedly offer selections until user enters 'Q! Software Engineering Guidelines and Submission Guidelines: . Use top down design methodology as learnt in CISP301 and done in the review in the example software engineering document Submit a document with the execution chart of the main function emergeny DecisionsMenu and the helper functions. Your main program will be called cpp and will consist of a single function call to the function emergency DecisionsMenu. Depending on the selection, emergency DecisionsMenu will call the methods communcationsFailure, engine Failure or in Flighticing. All the functions will be defined in a file called cpp All the function prototypes will be declared in a file called h Test your program thoroughly and submit verification with screenshots of evidence that your program has passed all the tests. If using makefi (optional), create a makefile to compile all these components using the information for makefiles given in your canvas course and in the example software engineering document Zip these files into a folder called zip Upload this file and your software engineering document into your submission box. Aircraft Decision Tree This assignment implements a hypothetical troubleshooting tree for possible engine failure in light aircraft. DO NOT FOLLOW IN A REAL EMERGENCY! A decision tree is an Artificial Intelligence method for arriving at a decision based upon a collection of IF state- ments. The computer asks a question and responds, based upon the answer. The computer only asks the relevant question based upon the user's answers (ie you don't ask all the questions and then try to sort it out.) This program is menu driven. This presents four potential emer- gency situations: Communications Failure, Engine Failure, In- flight Icing, Quit Communications Failure - This option only leads to 1 element, "Switch to Alternate Radio." Engine Failure - This activates the decision tree. This is basically a collection of IF statements arranged in a hierarchy. This is shown on the second diagram below. In-Flight Icing - Prompt the pilot for the estimated amount of ice on the wings (omm to 10mm). Aircraft will not fly with more than 10mm of ice (and pilots will not be operating this system). - The amount of ice determines how much power to use to ener- gize the deicing boots. Less then imm, 5% power * 1 - 5 mm, 20% power * 5.1 - 9 mm, 65% power * 9.1 - 10 mm, 100% power Main Menu Com Failure Engine Failure Icing Quit Your task is to write an Emergency Al Decision Making program that is used by pilots of the AA Aircraft company for troubleshooting in case of possible engine failure. Follow the directions given in the document called "Aircraft Decision Tree" in the file "Emergency Decision Making.pdf" This program implements the top level menu option 'E' of the Airport Application and constitutes Part 1 of the Airport Application Project requirement. When the user selects 'E' in the airport application, she will be taken to the "page" that is displayed by this program. In the next few weeks you will write other programs that implement options 'R' (Flight Status Report) and 'S' (Seat Reservation and Cancellation). You will be asked to integrate all these programs into the top level menu of the airport application for your mid-term exam. In addition, one part of your mid-term exam will consist of upgrading the Flight Status Report program. Each of these programs that are part of the Airport Application will themselves be menu driven. Requirements: The menu options for this program are 'C' : Communications Failure 'E': Engine Failure T : In Flight Icing 'Q': Quit This menu will offer input validation, accept lowercase response and repeatedly offer selections until user enters 'Q! Software Engineering Guidelines and Submission Guidelines: . Use top down design methodology as learnt in CISP301 and done in the review in the example software engineering document Submit a document with the execution chart of the main function emergeny DecisionsMenu and the helper functions. Your main program will be called cpp and will consist of a single function call to the function emergency DecisionsMenu. Depending on the selection, emergency DecisionsMenu will call the methods communcationsFailure, engine Failure or in Flighticing. All the functions will be defined in a file called cpp All the function prototypes will be declared in a file called h Test your program thoroughly and submit verification with screenshots of evidence that your program has passed all the tests. If using makefi (optional), create a makefile to compile all these components using the information for makefiles given in your canvas course and in the example software engineering document Zip these files into a folder called zip Upload this file and your software engineering document into your submission box

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

Deductive And Object Oriented Databases Second International Conference Dood 91 Munich Germany December 18 1991 Proceedings Lncs 566

Authors: Claude Delobel ,Michael Kifer ,Yoshifumi Masunaga

1st Edition

3540550151, 978-3540550150

More Books

Students also viewed these Databases questions

Question

Describe the linkages between HRM and strategy formulation. page 74

Answered: 1 week ago

Question

Identify approaches to improving retention rates.

Answered: 1 week ago