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
THE THIRD GENERATION (1966-1975) The introduction of IBM-360 series of computers in 1965 marked the beginning of this generation. The transistors were replaced by solid

Question 1 Discuss the usage and benefits of storyboarding Question 2 Explain the different stages of scriptwriting Question 3 Explain the 12 fundamental principle

Concept of instruction: The CPU is a semiconductor integrated  circuit chip consisting of a large number of transistors. In personal computers, the CPU is also referred by the

Write a C++ program that declares three integers and three strings. The program prompts the user for three characters and three integers and prints them all on one line.

A tuple is one more series data type that is like to the list. A tuple consists of a number of values divided by commas. Not like lists, though, tuples are enclosed inside parenthe

COMPUTER DATABASES: As would be evident from the foregoing description, literature search is essentially a process of information retrieval. The term "Information Retrieval" w

Question 1 Discuss the impacts of disaster faced by the organization Question 2 Explains the steps involved in disaster recovery planning Question 3 What do you mean by

Word Processing Software : The main use for word processing is found in secretarial offices and small publishing companies. However, if you are involved in generating your own cor

Need of artificial intelligence: Artificial Intelligence may be seen as just the latest tool in the philosopher's toolbox for answering these all questions about the behavior o

Question 1 Write down the Booth's Multiplication Algorithm. Justify the Booth's Multiplication Algorithm Question 2 Explain the functions of ALU Question 3 Define the term ins