Details of this Paper

SW Wizard only phase 2

Description

solution


Question

Update your design document to include the following;The Survey class should have a method called "topRatedQuestion()," which performs an analysis of all responses for each question and returns the number of the question that had the most positive responses.;The Survey class should have a method called "lowRatedQuestion()," which performs an analysis of all responses for each question and returns the number of the question that had the lowest responses.;The Survey class should have a presentQuestion() method that takes an int value, which is the question number it should display to the user. The question number should be used to access the right question from the array of strings which hold the questions.;Override the presentQuestion() method so that it takes both the question number and the respondent ID. The first argument is an int value, which is the question number it should display to the user. The second argument is an int, which is the respondent ID. If this method is called, both the respondent ID and the question will be displayed. The question number should be used to access the right question from the array of strings, which hold the questions. This allows you to present the question to the respondent in a more personalized way. For example: Respondent 5, please respond to the following survey question: How satisfied were you with your most recent visit?;Post your updated UML diagram. Review two of your classmates? diagrams and provide feedback.;Survey;+respondentID:int;-SurveyID.int;+surveyTitle.string;+intial_menu_Choice_:int;+respondentMatrix:int;-customer questions.string;-customerresponse.string;surveyResults(10)(10):int;surveyQuestions(10):string;+survey();+(Constructor).survey();+(Constructor).surveyTitle.string;+getRespondentID.int;+setIntialMenuChoice(inti_menu_choice:int):void;+getsurveyTitle(). String;-enterQuestions():void;+getrespondentsId();+setResondentesID(newRespondentsID().int;+displaySurveyResults().Int;+displayQuestionStats(?):int;+logResonse(int,int,int):void +questionsStats.int,questions.int);+completeSurvey(int):void;+main(string[]):void;+topRatedQuestion():int;+lowRatedQuestion():int;+presentQuestion(questionNumber:int);+presentQuestion(questionNumber, respondentID:int);-generateRespondentif():int;To accomplish the task of further developing your Survey class from your updated UML Class Diagram, you will need to implement the following attributes and methods;topRatedQuestion() method;lowRatedQuestion() method;presentQuestion() method with an int parameter for the question number;Overloaded presentQuestion() method with int parameters for both the question number and Respondent ID.;Update your test class to test all of the members added to this point. Update your Design Document for this Phase and any corrections needed from prior Phases.;Your Design Document should be ready to post to the Phase 4 Discussion Board for review by your classmates. In the next task, you will get an opportunity to receive suggestions for improvement on your Design Document.

 

Paper#72120 | Written in 18-Jul-2015

Price : $32
SiteLock