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

  Using the assigned journal article for the week compose a

using the assigned journal article for the week compose a two page paper on the unified modeling language uml. what is

  Write a gui class game

Write a GUI class Game that implements a number guessing game.

  Corporate or government agency policy on instant messaging

What specific questions must a corporate or government agency policy on "Employee use of Instant Messaging (IM) using corporate computers" address?

  Create documentation for project that summarizes the process

Create documentation for this project that summarizes the process for using the entities and attributes for fleet truck maintenance. The Entities and Attributes for Fleet Truck Maintenance can be found in the Huffman Trucking Virtual Organization.

  Write algorithm to locate the first occurrence of name jean

Write an algorithm to locate the first occurrence of the name JEAN in a list of names arranged in random order. .how you could improve the algorithm if the list of names were arranged in alphabetical order.

  What are difference between oop and object orinted design

What is the difference between object oriented programming and object oriented design

  Expect development success

The goal of most organizations is to operate in an environment similar to CMM levels 2 repeatable or level 3 defined where projects are well documented and follow standards and best practices learned from previous implementations. It is virtually imp..

  Produce an identical product

There are two firms in a market that produce an identical product. Each firm has either one or zero units to sell. The probability of having a unit to sell is q and the probability of having no units to sell is 1-q. There is a single consumer ..

  Type and topology of lan

Type and topology of LAN

  Draw mind map to show risks and actions and strategies

Draw a mind map to show the risks and the actions and strategies that would ensure the integrity of your data, and the optimisation of a computer.

  Write a program prompts user to enter the first digits

Need help to write problem displaying ISBN(international standard book numbers). Question as follows:

  Peak view sound sources is a public company

Peak View Sound Sources is a public company based in Denver, Colorado and is focused on providing digital media and Web sites to music companies and musicians through the Mountain and West Coast regions. The company has a solid reputation and i..

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