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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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