Create a uml class diagram for a survey class

Assignment Help JAVA Programming
Reference no: EM131181787

Java programming1

Create a UML Class Diagram for a Survey class, using the application of your choice. Suggested applications are Visio, Word, Excel or Visual Paradigm. The following are requirements of the Survey class:

• The Survey class will have a static class variable that stores the current respondent's ID. As respondents complete the survey, this value will be incremented by one.

• The Survey class will have an instance variable to hold the title of the survey.

• The Survey class should have two overloaded constructors.

o The first constructor should take no arguments. It should set the survey title to a default value of "Customer Survey".

o The second constructor should accept a String value for the survey title. It should reset the static respondent ID to zero. It should set the survey title to the value passed into the constructor.

• The survey class should have a generateRespondentId() method which returns the next value of the respondent ID. This method should increment the static instance variable for the respondent ID by one.

To accomplish the task of developing your Survey class from your designed UML Class Diagram, you will need to implement the following variables and methods:

• Static class variable for the respondentID
• Instance variable for the Survey title
• Two overloaded constructors
• generateRespondentID() method.

Start a Design Document and insert your UML class diagram into your design document. Your Design Document should follow APA formatting and should include in order:

• Title Page
• Table of Contents
• Project Outline
• Sections with Section Headings for each Phase of the Project

Submit your Design Document and your zipped NetBeans project.

Reference no: EM131181787

Questions Cloud

Equation to find the total cost of the bill : Repair-It charges $60 for a service call plus $25 per hour to repair the appliance. Let h represent the number of hours and C represent the total cost for the repair. Write an equation to find the total cost of the bill to fix your appliance after h ..
Is this tax system progressive or regressive explain : Consider the following table, which shows the total amount of taxes paid at different total income levels in a society. For each income level, calculate the effective tax rate. Is this tax system progressive or regressive? Explain.
Two young college graduates opened a chain of print shops : Two young college graduates opened a chain of print shops. The chain expanded rapidly during the early 1990s and many new stores were opened. The number of print shops in operation during any year from 1990 to 2005 is given by the equation y=-2.5x..
Health information management system : "Success Factors" Please respond to the following: Determine what you believe to be the most critical factor for the successful implementation of a health information management system.
Create a uml class diagram for a survey class : Create a UML Class Diagram for a Survey class, using the application of your choice. Suggested applications are Visio, Word, Excel or Visual Paradigm. The following are requirements of the Survey class.
Causal relationship in business process : In order to understand the causal relationship in business process, manager often asks "whys" to drill down the root cause of failures. Select one (1) project from your working or educational environment and propose at least three (3) "why" questi..
Draw a supply-and-demand graph : Assuming no other significant changes in the gasoline market, what can we conclude about the elasticity of demand for gasoline in Autopia?
Discuss the conditions that can affect network performance : Discuss the conditions that can adversely affect network performance, and the current tools as well as procedures that are available to network managers for monitoring and analysis of LANs, interconnected LANs, and other networks.
How should the owner resolve given dispute : What is wrong, if anything, with the general managers approach to making sure that drivers do not steal or act carelessly?

Reviews

Write a Review

 

JAVA Programming Questions & Answers

  Image to a "black-to-green scale" image

Call a method that will change the image to a "black-to-green scale" image.

  Write a script that simulates a casino machine

Write a script that simulates a casino machine. To play a single round on the machine user pays $ 5. Now when the user start the machine, the machine rolls a pair of dice

  Use the testcircle.java program to test your classes

Create a new class, Point, which inherits from Shape and contains two private instance variables of type int, x and y, which store the coordinates for the Point

  Prepare a second class to test the receipt class

Prepare a second class to test the receipt class - Make this program using java programming. Make this application in simple way.

  Write a method that will perform the a division operation

Write a method that will perform the a division operation (divide by) on the numbers passed to it in two variables (numerator, denominator) and outputs the results. Use a try-catch pair to output an error message if the illegal operation of divide..

  Write a java program that reads a five-line address

Write a Java program that reads a five-line address from an input file and produces an output file with the address repeated 50 times in three columns.

  Variable of type string that has been assigned

Assume that word is a variable of type string that has been assigned a value. Write an expression whose value is a string consisting of the last three characters of the value word. So if if the value if word were "biggest" the expression's value w..

  Implement a class icecreamcone

Implement a class IceCreamCone with methods getSurfaceArea() and getVolumn(). In the constructor, supply the height and radius of the cone. Be careful when looking up the formula for the surface area

  Write program that play rock-paper-scissors-lizardspock game

Write a program that plays the Rock-Paper-Scissors-Lizard-Spock game. Refer to http://en.wikipedia.org/wiki/Rock-paper-scissors-lizard-Spock for more information.

  Write the bubble sort

The village of Marengo conducted a census and collected records that have household data, including the number of occupants in each household.

  Application using arrays to manage personal financial record

design a Java application using arrays to manage personal financial records which include expenditures and incomes.

  Cross the dark knight and the living flame of love

What challenges does spain get from the text john of the cross the dark knight and the living flame of love?

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