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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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