Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Assignment 2: Emergency AI Decision Making ProgramPart 1 of Airport Application Outline: Your task is to write an Emergency AI Decision Making program that

Programming Assignment 2: Emergency AI Decision Making ProgramPart 1 of Airport Application

Outline:

Your task is to write an Emergency AI 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 EmergencyDecisionMaking.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

I : 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.

Submit a document with your hierarchy chart, execution chart, pseudocode and tests

Your main program will be called EmergencyDecision.cpp and will consist of a single function call to the function emergencyDecisionsMenu.

Depending on the selection, emergencyDecisionsMenu will call the methods communcationsFailure, engineFailure or inFlightIcing.

All the functions will be defined in a file called EmergencyDecisionsFunctions.cpp

All the function prototypes will be declared in a file called EmergencyDecisionsFunctions.h

Test your program thoroughly and submit testing documentation with screenshots of evidence that your program has passed all the tests.

Create a makefile to compile all these components using the information for makefiles given in your canvas course

Zip these files into a folder called EmergencyDecision.zip

Upload this file into your submission box.

Grading Rubric: (out of 25 points)

5 pts Complete Software Engineering Document with Hierarchy chart, Flowchart and Pseudocode

5 pts Documentation and Programming Style

10 pts Complete working programming that fully implements the assignment problem

5 pts Test Document demonstrating that program passes all the tests.

Testing:

Your tests should include lower case entries, invalid entries, and a sequence of choices. A couple of tests, Test 1 and Test 2 are given as an example. Your output should mirror the output given below.

Test 1

Input sequence EYNq gives the first output

Test 2

Input sequence i8q gives the second output

Test 3

Input sequence cyynyq gives the third output

etc

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

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

Calculate the molality of a 10.0 grams H3PO4 in 90.0 grams water

Answered: 1 week ago

Question

Defineandbrieflyexplaintheintegration-responsivenessframework

Answered: 1 week ago

Question

Distinguish between poor and good positive and neutral messages.

Answered: 1 week ago

Question

Describe the four specific guidelines for using the direct plan.

Answered: 1 week ago