you will continue your project and update your design document, the attachment is my design document

Anonymous
timer Asked: Apr 20th, 2017

Question description

In this assignment, you will continue your project and 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?

Implement the enhancements to your Survey class according to the requirements presented above.

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 Design Document for this Phase and corrections needed from prior Phases. Update the screenshot(s) for the revised code to implement the enhancements to your Survey class.

Finally, save your design document as “yourname_IP3.docx”. Click the “Edit” button on this submission node to submit the saved document.

Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors