Implement the enhancements to your survey class

Assignment Help JAVA Programming
Reference no: EM131195556

Java programming

• 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 any corrections needed from prior Phases.

Submit your Design Document and zipped NetBeans Project.

Reference no: EM131195556

Questions Cloud

Appropriate influence in it consulting : Building of relationship skills and methods of appropriate influence in IT consulting?
Prepare a note disclosure relating to this incident : Journalize the contingent liabilities associated with the hazardous materials spill.- Prepare a note disclosure relating to this incident.
The labor market in the fast-food industry : The following graph shows the labor market in the fast-food industry in the fictional town of Supersize City. Use the graph input tool to help you answer the following questions. You will not be graded on any changes you make to this graph. Note: Onc..
Is randy car lost-abandoned or mislaid : Is Randy's car lost, abandoned, or mislaid? If Randy never returns to reclaim the car, who owns it?
Implement the enhancements to your survey class : Implement the enhancements to your Survey class according to the requirements presented above. The Survey class should have a method called "topRatedQuestion()," which performs an analysis of all responses for each question.
Fill the area representing producers surplus : Suppose the following graph shows the demand for, and supply of, apartments in New York City. Use the black point (plus symbol) to indicate the equilibrium monthly rent and quantity of apartments in the absence of price controls. Then use the green p..
Determine the cost of goods sold for march 2016 : Prepare a cost of goods manufactured statement for March 2016.-  Determine the cost of goods sold for March 2016.
Determine whether or not innovation is a manageable resource : Determine whether or not innovation is a manageable resource. Provide specific examples of how you would manage innovation or why you believe it is unmanageable.
Please read the chapter of book kang r 2008 the internationa : Please read the chapter of book "Kang, R. (2008) 'The Internationalization Process of Chinese of Chinese Multinationals', in J.P Larcon (Ed), Chinese Multinationals, (pp. 77-97). London: World Scientific Publishing Company." and write a summary of it..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write various bindings to determine semantics

Write the various bindings that are required to determine the semantics when statement is executed. For each binding, indicate binding time used for language. Describe your answer.

  Describe the airlines information management system project.

i require assistance in finalizing the requirements model for the Airlines Information Management System (AIMS) project. The requirements model need to include use UML case diagrams for the entire AIM system.

  Program to get final grade that should not be alphabet

Write a program to get final grade that should not be alphabet (i.e. out of 1-100). Each student has to give 5 lab assignments which is maximum score of 20, 4 quiz competitions which is maximum score of 20,

  Create a class called student

Java Create a class called Student that contains: - A field to store the name - A field to store their average numerical grade

  Write a class called rationalnumber

Write a class called RationalNumber that represents a fraction with an integer numerator and denominator.

  Create application in java programming

Write method multiple that determines, for a pair of integers, whether the second integer is a multiple of the first.

  Design the appropriate accessor and mutator methods

Design an Employee class that has fields for the following pieces of information: Employee Name Employee Number Next, design a class named ProductionWorker that extends the Employee class.

  Create a new class called cat

Be sure your classes have a reasonable complement of constructor, accessor and mutator methods. Every member variable must have at least one independent accessor and one independent mutator

  Write a program in java that reads contents of two vectors

Write a program in Java that reads contents of two vectors, and then displays the sum of these two vectors. The program should prompt the user to enter the size of the vectors first.

  Write a class that has the subsequent fields

Write a class that has the subsequent fields: first name, last name, id number, department, payRate, hoursWork with constructors that accepts the subsequent values as arguments and assigns them to the appropriate fields.

  A program called invoice that will prompt the user for items

write a program called invoice that will prompt the user for items on and invoice and then print the total of the invoice

  Run the code

Run the following code, Explain the output aYer you let it run 20 seconds, 5 minutes, 10 minutes.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd