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 a program in java to implement the adt binary tree

Write a program in Java to implement the ADT Binary Tree part of whose definition is given below. You are also to write a driver program that demonstrates the correctness of your implementation by way of taking a series of commands from a text fil..

  Write java program to enter number of marks

Write a java program called AverageMark.java. This program should allow the user to enter any number of marks and then display the minimum, maximum & average mark.

  Develop the game using the concepts of cohesion

Develop the game using the concepts of Cohesion, Coupling and RDD, i.e., responsibility-driven design.

  Create three classes for a customer

a travel manager and have a job of buying a travel package for a customer. You must create three classes for this programming challenge: Customer, Ticket, and TravelManagerDemo.

  Create an application that contains an enumeration

Create an application that contains an enumeration (enum) that represents the days of the week.  Display a list of the days, and then prompt the user for a day

  Write java programming to show number of credits for course

Write the java programming to solve following problem. We are given a student's marks in Calculus 1, CS1, and Physics 1 (each mark being between 0 and 100) also number of credits for each course.

  Program which evaluates a weighted average

Write a program which reads student names, social security numbers, and test scores from an input file named infile.

  Create a separate class for the selected product

Create a separate class for the selected product that holds the item number, the name of the product, the department in which the product belongs, the number of units in stock, and the price of each unit. You must use the product and class name th..

  Write a program that prompts the user to enter an integer

Write a program that prompts the user to enter an integer. If the number is a multiple of 3, print "Multiple of 3."Otherwise, print "Not Multiple of 3." Here are the sample runs:

  Purchasing type of mobile device

Mobile devices use touch screens to interact with the individual. Select a mobile device and identify three (3) important usability features that are important to you when purchasing this type of mobile device. Provide a rationale for your respons..

  Generates n random numbers

Create a VI that generates n random numbers, where n is a user input. Display the n random numbers in an array, and in a second array display the same random umbers in ascending order.

  What do you mean by operator overloading

What do you mean by operator overloading

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