Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

Java programming

You have been asked by your manager to create a user-friendly application that will present a survey to your customers. The application will compile and analyze the results entered by the survey respondents. You will deliver your working application with a Design Document and test results.

Upon completing all functional and design requirements, submit the following:

• Design document that has UML Class Diagrams to document your design of your Survey and SurveyConductor classes.

• UML Sequence Diagram that documents the design of your SurveyConductor application class.

• Screenshots showing results of testing

• Update your Survey class based on feedback and lessons learned in all Phases of this course. Perfect your code and all comments to all necessary areas to describe what is happening at that point of your code.

• Zipped NetBeans project of the application that correctly meets all stated design and functional requirements.

Code should be well commented. Appropriate use of control structures should be used. Logic should be sound and correct.

A design document should be submitted that contains:

• UML Class and Sequence Diagrams using proper UML notation.
• Pseudocode for the SurveyConductor application.
• Pseudocode for the Survey class methods.
• Logic for error checking to validate the response is between 1 and 5 should be included in the Pseudocode.
• Screenshots showing your application runs. Document each screenshot with a caption that explains the test data entered and the resulting application behavior/output.

True/False competency exam:

The second part of the Key assignment is a competency test that will test your knowledge on fundamental data types, control structures, classes, objects, and methods. If you do not pass this competency exam, you will not be able to proceed to IT251.

1. Declaring more than one method with the same name but different sets of parameters is called method overloading.

2. You cannot overload a constructor.

3. Given a method with the signature:

public void numberCruncher(int num1, int num2, String name)

an example call to this method could be:

myNumberCrunch.numberCruncher("Fred", 3, 5)

4. The + operator can be used in string concatenation.

5. A static method can be used even if no objects of the class have been instantiated.

6. A class or static variable should be used when all objects of a class must use the same copy of the variable.

7. If packages are used, the package declaration should come directly after any import declarations in a java source file.

8. The private access modifier can control the access to variables and methods of a class.

9. An accessor is another term for a set method.

10. Arrays have to hold the values of the same type.

11. The first index of an array is index zero.

12. The following code creates an array, b, with 3 columns and 2 rows:

int[][] b = new int[2][3];

13. Given an array called x, you can access the 5th element in array x by the following code:

x[5]; //reference the 5th element in an array

14. Nested for loops are commonly used to display the contents of 2-dimensional arrays.

15. The enhanced "for" statement will iterate through the elements of an array.

16. Given array ‘y' that holds values of type int, the following code will set the 5th element of the array to 6:

Y[6] = 5;

17. A list of method parameters are separated by semicolons.

18. A method can return at most one value.

19. Class Math has several static methods.

20. The Java Application Programming Interface is a Java class library with thousands of predefined classes.

Java, Programming

  • Category:- Java
  • Reference No.:- M91966665

Have any Question?


Related Questions in Java

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Question slideshows or carousels are very popular in

Question : Slideshows (or carousels) are very popular in websites. They allow web developers to display news or images on the website in limited space. In this code challenge, you are required to complete the JavaScript ...

Overviewyou are required to use java se 80 and javafx to

Overview You are required to use Java SE 8.0 and JavaFX to develop a Graphical User Interface (GUI) for the FlexiRent rental property management program created in Assignment 1. This assignment is designed to help you: 1 ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Part a specification - robot simulationpart a

PART A Specification - Robot Simulation PART A Requirements To complete this assignment you will use the supplied eclipse project Robot P1/. It is already set up to execute a simple arm movement loop which you will build ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Can someone help me please with those question1what is the

Can someone help me please with those question 1:what is the best data type for student id datatime,currency,number,decimal 2:which relationshipis preferable? one to one,one to many,many to many 3:if you add table A's pr ...

Assessment socket programmingtaskwrite a java gui program

Assessment: Socket Programming Task Write a JAVA GUI program that would facilitate text chatting/exchanging between two or multiple computers over the network/internet, using the concept of JAVA socket programming. If yo ...

Assessment instructionsin this assessment you will complete

Assessment Instructions In this assessment, you will complete the programming of two Java class methods in a console application that registers students for courses in a term of study. The application is written using th ...

Assignment game prototypeoverviewfor this assessment task

Assignment: Game Prototype Overview For this assessment task you are expected to construct a prototype level/area as a "proof of concept" for the game that you have designed in Assignment 1. The prototype should function ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As