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
ATM = Asynchronous Transfer Mode Fast packet switching and multiplexing technology (cell-based ) Support the universe of services voice, video and data traffic Provides quality of

Question 1 Convert the following binary numbers to its specified number system 1101.11 (2) to octal 1111 (2) to decimal 110.11 (2) to hexadecimal 1011.11 (2) to

AsBased on Chapter Review Problems from the book. 1 #1. What is meant by data independence? Explain your answer. #2. Identify two benefits of separating application software fr

QUESTION (a) Consider the graph below, use the Flow Decomposition technique to list the cycles and paths produced.                                                (b) Pr

The system bus is a cable which carries data communication among the major components of the computer, as well as the microprocessor. Not all of the communication that uses the bus

how to load a video using push button in gui design click

Input devices of a digital computer: Input devices are used to read the instructions and data to be processed and output devices display the results obtained after executing t

The Python language has a lot of similarities to Perl, C and Java. Though, there are some specific differences between the languages. First Python Program: relative Mode Programmin

Optical Mark Recognition (OMR): OMR is the scanning of paper to detect the presence or absence of a mark in a predetermined position. Now days, it is used as an input device f

Library function :   These are the functions supplied with the programming language. The code or definition of library functions does not have to be written in a user program w