Create a test class that tests your survey class

Assignment Help Basic Computer Science
Reference no: EM13772181

Assignment Instructions

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.

The requirements and use for each of these members are described in the Discussion Board for this phase.

Create a test class that tests your survey class. This should test all of the members added to this point in any way that you desire, as long as it is proven that they function as required.

Submit your Design Document and your zipped NetBeans project.

Questions and Instructions

1. Does this assignment really need getter and setter methods? I know I put them in my UML diagram, but not sure if I need them. If I am supposed to have them, please code them in.

2. The instructor gave us the coding in the netbeans file for the java coding. She wants us to fix it. She said she hadn't given us all the codes. She wants us to do the following:

The respondentID has to be reset to 0. You will see the code respondentID = 0.

In the TestCase file, you will see the coding that makes the system print out the respondentID 0 - 5. That code section has it do that. She wants us to tell the system to print out only 1-5.

Reference no: EM13772181

Questions Cloud

Implement a program to learn vocabulary of foreign languages : We want to implement a program which will help students learn the vocabulary of foreign languages. The first step, which has been assigned to you, is to build a data structure representing a list of English words and their translation in a foreign..
How you will reduce the wait-time in between each activity : Describe how you will reduce the wait-time in between each activity. Lastly, describe what your transition expectations are for children and how you will explain these expectations to the children.
Identification and analysis of secondary data sources : How did the developers take respondent characteristics (age, race, culture, etc.) into account in survey development?
Explain information technology effects on organization : Explain Information Technology Effects on Organization, Library Services advantages?, Technology and Data Management? and Effects of using computers for learning English Language.
Create a test class that tests your survey class : Create a test class that tests your survey class. This should test all of the members added to this point in any way that you desire, as long as it is proven that they function as required.
Write a research paper about the history of the ebola virus : Write a research paper about the history of the Ebola virus can you help me?
Hannah and sam run moretown makeovers a home remodeling busi : Hannah and Sam run Moretown Makeovers, a home remodeling business. The number of square feet they can remodel in a week is described by the Cobb-Douglas production function. Q=F (L,K) Q=10L0.5K0.5 where L is their number of workers andKis units of ca..
Create a program for telephone lookups : Create a program for telephone lookups. Your tasks are to allow the user find a number that is associated with a name and if given a number, find the name associated with it (normal and reverse lookups).
Write a research paper for upper management examining : Write a research paper for upper management examining the feasibility of this. Your report show focus on the economic, social, legal, and ethical issues associated with the particular technology.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Who are getting advantages from piracy robberies

Why are (were) pirates difficult to eliminate? What to you believe about pirates as moder-day Robin Hoods? Who are getting advantages from piracy robberies?

  What is a relational query optimizer

How do relational query optimizers work? What information does a relational query optimizer use in making its decisions?

  Change the hello program to print out your name

The contents of the file are given below. Name the file hello.c. #include #include int main() { printf("hello your-name-here\n"); exit(0)

  Create a class titled schooltextbook that contains fields

Create a class titled SchoolTextBook that contains fields for the author, title, page count, ISBN, and price. This SchoolTextBook class will also provide setter and getter methods for all fields.

  A file containing the case study evaluation report

As an external consultant, you have been hired by a competitor, OCBIN, to analyze the way NIBCO implemented its SAP ERP system and to identify issues that when addressed would create a better outcome. You are to present your analysis in the case stud..

  What are some of the unique features that become available

What are some of the unique features that become available when either the forest or the domain is changed to the 2008 functional level? What about 2008 R2? What features are lost when moving to either of the 2008 functional levels?

  Showing how to use the html element

Describe the attributes that you think would be useful with the HTML element. Provide an example code snippet showing how to use the HTML element. !DocType Html

  Describe the main difference of worm vs. virus

1. Describe the main difference of worm vs. virus and what are the best countermeasures for each in detail.2. What is a DNS attack? Are there different types, if so, explain each? Is the DNS attack assumed to compromise IPSec, and/or is it considered..

  Distribute music on the internet.

an architecture for a system (such as iTunes) that is used to sell and distribute music on the Internet. What architectural patterns did you use as the basis for this architecture? Why are these patterns appropriate?

  Describe when you would want to use double hashing

Briefly describe when you would want to use double hashing. Also, provide an example of a rule that can be used for a double hashing probe sequence.

  Display the highpints variable

Add an assignment statement that sets counter to 1. Remember, counter has to be set to one because Raptor arrays must start at 1, not 0.

  Telephone service providers are now offering adsl

4. (4 points) Telephone service providers are now offering ADSL service to home using the existing twisted-pair telephone wires. The signal can be carried up to a maximum of 1-MHz baseband with an S/N (signal power/noise power in ratio) of 30 d..

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