List data structures to be used in solution

Assignment Help JAVA Programming
Reference no: EM13313121

Objectives:

1. To gain experience with string objects.
2. To gain ArrayList
3. To gain experience with generic algorithms.
4. To gain experience with reading from a file and writing to a file.

Documentation:

1. Explain the purpose of the program as detail as possible
2. Develop a solution for the problem and mention algorithms to be used
3. List data structures to be used in solution.
4. Give a description of how to use the program and expected input/output
5. Explain the purpose of each class you develop in the program.

Programming:

6. For each method, give the pre and post conditions and invariant, if any
7. Program execution according to the requirements given
8. Naming of program as required
9. Print out of source code

Description of program:

You are to write a program that will prompt the user for an input file name to read from. The Input file will consist of records made up of first name, last name and an account balance of individuals and store the individuals in an ArrayList. Each line in the file would be made up of one record starting with the last name, first name and account balance. Each token is separated by ONE space. The individuals names' must be inserted in sorted order into the list - sort by last name and then first name.

The program must be named "test_Array_list.java" .

10. Display the contents from the list to the screen and into an output file - "output.txt".

11. Count the amount of individuals in the list and display the value on the screen and the output file.DO NOT USE ANY LIBRARY FUNCTION TO COUNT. YOU MUST WRITE YOUR OWN COUNTING FUNCTION.

Reference no: EM13313121

Questions Cloud

What is the speed of the skateboard : Sharon has a mass of 60 kg and is standing on a giant skateboard that is initially at rest and has a mass of 30kg. what is the speed of the skateboard
Explain the concentrations of ce4+ : At what pH would the given concentrations of Ce4+ (1.67*10^-4), Ce3+ (.185), Mn2+ (1.28x10^-5) and MnO4- (.148) be in equilibrium at 298 K. Chemical equation is 5Ce4+ + Mn2+ 4H2O => 5Ce3+ + MnO4- + 8H+. And E standard is .193V
What is the total kinetic energy of the hoop : A 2.20 kg hoop 2.00 m in diameter is rolling to the right without slipping on a horizontal floor at a steady 2.40{\rm rad/s}. What is the total kinetic energy of the hoop
Determine the angle through which end a of shaft ab rotates : diameter, are connected by the gears shown. Knowing that G=11.2*10^6 psi, determine (a) the angle through which end A of shaft AB rotates, (b) the angle through which end E of shaft EF rotates.
List data structures to be used in solution : write a program that will prompt the user for an input file name to read from. The Input file will consist of records made up of first name, last name and an account balance of individuals and store the individuals in an ArrayList.
Determine the kinetic energy of the system : A 4.0 kg mass and a 3.0 kg mass are attached to the opposite ends of a thin 42.0 cm long horizontal rod. determine the kinetic Energy of the system
Evaluate apples resources and competitive position : Critically analyse how leadership impacts on the organisational culture of Apple and evaluate Apple's resources and competitive position.
How do you find the maximum axial load using asd : An 8x12 column of No. 1 Spruce-Pine-Fir(South) has an unbraced length for buckling about the strong x axis of 16 feet and an unbraced length for buckling about the weak y axis of 8 ft. Cm = 1.0 and Ct = 1.0
Determine the final velocities of both balls : A ping pong ball of mass 100 grams travelling at 10 m/s hits a stationary bowling ball of mass 3 kg, head on. determine the final velocities of both balls

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a java program to implement the finite field

Write a program called "GF2.java" to implement the finite field GF(p n ) where p is a prime number and n is a positive integer.  You also need to write four methods to realize "+", "-", "´", and "/".

  Write a java program using the java graphics

Your task for this assignment is to write a Java program using the Java Graphics class to create an example of a computer generated image. This is an opportunity for you to explore computer graphics and exercise some individual creativity.

  Write a java program to read sequences of integers

Write a Java program to read sequences of integers from a text file, build a binary search tree for each sequence by inserting numbers in the sequence one after another into the search tree, and plot a picture of the finished tree.

  To report the amount of the fine

To report the amount of the fine, which is $25 for the first hour or pan of an hour that the car is illegally parked, plus $10 for every additional hour or part of an hour that the car is illegally parked

  The string class and/or the stringbuffer class in java

Create a simple Java application that uses the String class and/or the StringBuffer class and at least 4 of the class methods. Show the code, demonstrate it works properly and describe what it is doing.

  Point of sale terminal

a software implementation of a Point of Sale terminal at a typical store. The users of the system are the cashiers sitting at the sales terminals of the store. The users can use the system to manage sales items in the store, customer details and of c..

  Application for an animal-fur trimming service

Create an application for an animal-fur trimming service. Write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive.

  Program that allows a user to input coordinates

In Java make a program that allows a user to input coordinates as to make a Hexagon via an array, and my professor has set the standards of: Write a class Polygon which draws a hexagon for a set of numbers given by the user.

  Primary care-secondary care and tertitary care

Discuss the differences among primary care, secondary care, and tertitary care and the 6 C's of primary care

  Construct java program named collegelist

Construct a set of classes for a college to use in many student service and personnel applications. Classes you require to design include following:

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Create a class account that represents a banking account.

Create a class Account that represents a banking account.

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