Handling Text Files, Basic Computer Science

I. Write an application that accomplishes the following tasks:

1. Read a text file that contains, integers, doubles, alphabet, alphanumeric, and others. The name of the input file should be entered as a command-line argument.
2. All other files should also be entered as command-line arguments. For example, you may include the following:
data6.txt integersOut.txt doubleOut.txt alphabeticOut.txt alphanumericOut.txt othersOut.txt
3. Check each token you read and save in the appropriate type of ArrayList.
4. Write each type of lists to a separate output text file with appropriate header with 6 values per line separated by tabs or spacing.
5. Write the average values of integers and doubles to the appropriate files
6. Write the longest token of the alphabet, alphanumeric, and others to the appropriate file
Posted Date: 2/12/2013 11:16:23 AM | Location :







Related Discussions:- Handling Text Files, Assignment Help, Ask Question on Handling Text Files, Get Answer, Expert's Help, Handling Text Files Discussions

Write discussion on Handling Text Files
Your posts are moderated
Related Questions
What is a Structure?

The CPU has four internal registers, each of 16 bits. The first four, AX, BX, CX, and DX are common use registers and can also be used as 8 bit registers, if used in such a way it

Computers One of the most  important invention in the design of digital  circuits  is that  of the general- purpose "stored program" computer or device. Computers are a partic

Do you have expert can deal with netlogo

advantage and disadvantage of operating system


Question 1 What is mobile telephone initialization? Explain the three main goals of this procedure Define GSM system operations Introduction to mobile telephone initializ

Suppose you are designing a database for an art museum that owns a large volume of works of art. Each work of art is described by a unique item code, a title, a type, and a size. T

Problem: (a) Using appropriate examples describe what are System software and Application Software. (b) Explain four tasks of file management a user frequently performs i

QUESTION 1 Write short notes on controlled vocabulary indexing. QUESTION 2 (a) List five types of abstracts. (b) Describe four types of abstracts. QUESTION 3