Create the application class using appropriate application

Assignment Help Programming Languages
Reference no: EM13311341

The course objectives met by this assignment include:

• Course specifications are available online from the USQ website <https://www.usq.edu.au/course/specification/>. Always check the website for the latest version.

Part A

You are required to do the following questions from your text book:

1. Question number 5 page 169

2. Question number 3 page 419

For each question you must start a fresh application - in accordance with the instructions in the Study Book.

Each application must adhere to the object oriented principles covered by this course material. This means that for each application there must be at least two classes, but as many more as required depending on the question.

As a third year course you need to provide source code written clearly, logically and concisely at a high level of proficiency.
You must define each class in accordance to the object oriented principles that means a class needs to be complete in regards to the information it contains and the actions it takes. Any updates must only occur within a class and only through the use of setters and getters.

Each question must ensure that, where appropriate, correct display, correct formatting, correct order, user friendly error messages, correct input validation, and appropriate use and content of array is applied in accordance to the instruction given in the question and in alignment with the course material (text book and study book).

Part B

Provide details about your design of software development 3. For that you need to:

Read software development 3 specifications carefully a number of times before and while you create your class design.

List the names of all the business layer classes that are required to write the solution for the software development 3 (assignment 3) in the table below. The business layer classes contain the data and process the data (including reading from and writing to file). Everything processing that needs to be done with data needs to be in the business layer classes.

Indicate which of these classes is the driver class.

DO NOT provide the functionality that would be handled by the GUI layer (keyboard entry). DO NOT provide any GUI layer classes.

List all class fields (data) that these classes will contain.

Do not list the setters and getters.

List all public and private processing methods. Processing of the data in the class must be done in the class that contains the data. Do not write the source code for these methods for this assignment.

You must indicate which classes are going to process the collections (see comment about collections above). As this course requires you to have prior programming experience, and while we have not yet covered how Java handles arrays and collections, the English word collections (such as stamp collections indicates that there is more than one stamp) reflects more than one item.

Use the table template provide below to provide the above information.

Business Layer Class name

Relationship to other classes

Class fields (including collections)

Public methods

Private methods

 

Application class

 

 

 

 

Driver class

 

 

 

 

 

 

 

 

In NetBeans create the following:

Create the application class using an appropriate application name. This name must reflect the whole solution for software development 3.

Add the driver class and name it appropriately.

Add the classes listed in your table above.

Using one class of your choice, write the whole class definition. As you will not have any of the other classes at this time, you are permitted to hard code some of the data into the driver class to enable you to test the class definition by creating instances, using argument constructors and processing methods. You will need to remove this hard coded data later. Implement object-oriented principles in this class definition. In other words, if you are planning to use a parent class, include this parent class as well. As the processing is shared between the parent and child class, they will be regarded as one for this assessment. This applies also if your child class has more than one ancestor.

Test the class by placing the hard coded data into the driver class, which then instantiates your class and calls its instance method. Pass the hard coded data into the constructor and/or method. Test all scenarios - if you have a number of argument constructors, then provide the same amount of instantiation to test each of these argument constructors. Provide all the instance method calls to test all functionality and processing. We have done this in our weekly exercises so you should be familiar with this process. Leave all the hard coded data in the driver class - there must not be any hard coded data in the other classes - so that the marker can see what you have tested. DO NOT cater for GUI or console for this class. This will be needed in your software development 3.

Reference no: EM13311341

Questions Cloud

How far is the goose from its original position : Migrating geese tend to travel in straight-line paths at approximately constant speed. How far is the goose from its original position
Define what is the pressure of the mixture : 1.2 mol of helium is mixed with 2.3mol of argon in a volume of 1.0L and a temperature of 25.0 degree C. Assuming that helium and argon are perfect gases, what is the pressure of the mixture
What is the temperature of the blackened end : Solid cylindrical copper rod 0.2m long has one end maintained at temperature 20K, other end blackened and exposed to thermal radiation from surrounding walls at 500K. what is the temperature of the blackened end
Explain the emission spectrum of produced by an electron : Determine the wavelength of the line in the emission spectrum of produced by an electron transition He+ from n(initial)= 9 to n(final) = 2. The answer is NOT 384 nm.
Create the application class using appropriate application : Test the class by placing the hard coded data into the driver class, which then instantiates your class and calls its instance method. Pass the hard coded data into the constructor and/or method.
Compute the position of the image formed by the lens : A small object is placed to the left of a convex lens and on the optical axis. compute the position of the image formed by the lens
Explain the number of moles of nitrogen in the container : 1.5 mol of oxygen are mixed with an unknown amount of nitrogen in a 2.0L container at a temperature of 26.0 degrees C. If the final pressure of the mixture is 4.3atm, what is the number of moles of nitrogen in the container
How many turns should there be on the output coil : A transformer is designed to step down the 209 volts to 30 volts. If there are 446 turns on the input coil, how many turns should there be on the output coil
Cartesian coordinate system : Given two lines in the 2D Cartesian coordinate system, represented by Y = a1 * X + b1 ( a1 known as slope and b1 is the Y intercept) Y = a2 * X + b2 Assume the given two lines are never parallel, which means they always intersect.

Reviews

Write a Review

Programming Languages Questions & Answers

  Implement the calculator using stacks and queues

You will implement the calculator using stacks and queues. Your calculator should support following operators: Parenthesis. The input will be given in form of infix expressions, e.g. ( 2 + 3 ) * 5.

  Write program which takes as input arithmetic expression

Write program which takes as input an arithmetic expression. The program outputs whether expression contains matching grouping symbols.

  Create-implement simple class using static variables-methods

This third programming project is intended to demonstrate your knowledge of the following: create and implement a simple class. properly use static variables, methods and constants

  Create class for factory workers are paid certain amount

Create class for Factory workers are paid a certain amount for each unit they make and their total pay is the number of units produced times the pay per unit.

  Code the next version of the cp1200 catering calculator

You are to plan and then code the next version of the CP1200 catering calculator, as described in the following information and sample output

  Design a program using structured pseudocode

Design a program using structured pseudocode as demonstrated in the lectures and, ensuring all variables are declared, prompt the user for the appropriate input and display a meaningful output message.

  Design recursive program to generate random blurbs

A Whoozit is the character 'x' followed by zero or more 'y's. A Whatzit is a 'q' followed by either a 'z' or a 'd', followed by a Whoozit. Design and implement a recursive program that generates random Blurbs in this alien language.

  Which protocol is using by video game programmers udp or tcp

What protocol do you think video game programmers would use UDP or TCP. Why do you think the game uses one or the other protocols

  Program asks for number of shares-whole dollar portion price

Program asks for number of shares held, whole dollar portion of price, and fraction portion. fraction portion is to be input as two integer values, one for numerator and one for the denominator.

  Write a program that will use the four sorting algorithm

Write a program that will use the four sorts (Selection sort, Heap Sort, Quicksort and Merge Sort). Each of the four sorts should be TIMED on three different lists of integers.

  Display the property tax for n property owners

Write a java application that calculates and displays the property tax for N property owners. N should be declared as a constant and it should be equal to the largest digit of your student ID number

  Wysiwyg editors can be used to learn html

What about fact that WYSIWYG editors can be utilized to learn HTML? As you can usually jump back and forth from their own image.

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