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

  Find the second largest element of a set of n elements drawn

Find the second largest element of a set of n elements drawn from an arbitrary totally ordered set in as small a number of comparisons as possible. Only binary comparisons are allowed.

  What benefits does voip provide the corporate user

What benefits does VOIP provide the corporate user? What are some considerations when implementing VOIP?

  Develop a classical probability of occurence

Cite a risk in computing for which it is impossible or infeasible to develop a classical probability of occurence. Why?

  Design a module

Design a module, using pseudocode, named getNumber, which uses a reference parameter variable to accept an Integer argument. The module should prompt the user to enter a number and then store the input in the reference paramter variable.

  Deterministic context free and context free grammar

Classify the languages given below as a) deterministic context free, b) context free but not deterministic, c) not context free. Give explanantion.

  Explain how erp meets the needs of the stakeholders

Explain how ERP meets the needs of the Stakeholders

  Creating a database design in visio

Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In addition to tracking the students and courses, the client wants the database to keep track of the instructors te..

  Consider an automated teller machine

Consider an automated teller machine

  Explaining resulting scheme is not ind-cpa-secure

Let a variant of CBC-mode encryption where sender simply increments the IV by 1 each time a message is encrypted. Illustrate that resulting scheme is not IND-CPA-secure.

  Find the decimal integer that corresponds to interpretation

Each of these 8-bit bytes can be interpreted as either a 2's complement number or an unsigned number. Find the decimal integer that corresponds to the each interpretation.

  Write a pseudocode statement

Write a pseudocode statement that subtracts the variable downPayment from the variable total and assigns the result to the variable due. Don't use integer as decimal places will be needed.

  Snmp acceptance short paper

SNMP initially appeared in 1988, but it did not receive widespread adoption. What have been the issues with SNMP, and have they been addressed? How widely used is SNMP now? Find some examples of tools that use SNMP.

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