Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

prepare 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 ex, you may include the following:

data6.txt  integersOut.txt doubleOut.txtalphabeticOut.txt alphanumericOut.txt othersOut.txt

3) Check each token you read and save in the appropriate type of ArrayList.  

4) prepare each type of lists to a separate output text file with appropriate header with 6 values per line separated by tabs or spacing.

5) prepare the average values of integers and doubles to the appropriate files

6) prepare the longest token of the alphabet, alphanumeric, and others to the appropriate file.

7) Extra:

I) Document your classes

II) Include Exception handling

III) Indent code inside classes and methods

IV) Keep the methods short and simple. Break long methods by using supporting methods.

V) Name the driver TestMyTextFile6.java

VI) Zip your report, and classes in a file named with your last name

VII) Hint: You may use the String matches() method.

Data6.txt sample input file:

CS Math1111 CS1302A  Spring

VSU Valdosta Georgia

123  4567

-2.5   +100.75   -1234.567.3456  --1234

Is it Thanksgiving?  No!!

Integers:              123         4567

Double:                -2.5        +100.75

Alphabet:            CS           Spring   VSU  Valdosta State University Georgia   Is it

Alphanumeric:  math1111            CS1302

Others: -1234.567.3456  --1234   Thankdgiving?  No!!

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91132

Have any Question? 


Related Questions in Computer Engineering

1 ideally a method should have no side effects can you

1. Ideally, a method should have no side effects. Can you write a program in which no method has a side effect? Would such a program be useful? 2. Write preconditions for the following methods. Do not implement the metho ...

For this assignment you are a project manager your

For this assignment, you are a project manager. Your management has asked you to plan a project to develop an online shopping application to run on the newest model of the Blackberry smartphone. You know Blackberry has h ...

Design and implement a program that prints pascals

Design and implement a program that prints Pascal's triangle: using a recursive implementation of the binomial coefficients function:

Assignmentselect a task that a program could perform over

Assignment Select a task that a program could perform over an array of items that would be used by a small business. Your task must include the following: • Declaring array • Populating the array • Processing the items i ...

Question 1acalculate the binary values of the following

Question 1 (a) Calculate the binary values of the following decimals. The integer part of the converted binary numbers has a bit length of 8 bits. (i) 11 (ii) -12 (iii) 3.141 (iv) -5.252 (b) Differentiate between the adv ...

Choose a queue of initial size n then use a random number

Choose a queue of initial size n, then use a random number generator to simulate insertions and deletions (e.g. 0 ? additions, 0.5 ≤ 1.0 ? deletion) and determine what is the minimum array size that will support this que ...

1 what system is the father of almost all modern multiuser

1. What system is the father of almost all modern multiuser systems? 2. Which paper is the foundation of all subsequent studies of computer security? 3. Why is the top-down approach to information security superior to th ...

Using the frequency sampling method design a linear phase

Using the frequency sampling method, design a linear phase bandstop FIR filter with cutoff frequencies Ω c 1 = π/3, Ω c2 = π/2, and L h = 13. Realize the design as a frequency sampling filter.

1 run the life model several times what is the minimum

1. Run the Life model several times. What is the minimum number of ticks before the model stabilizes? What is the maximum number of ticks you can find before it stabilizes? Is it possible for the model to never come to a ...

1 from the knowledge you have acquired in this chapter

1. From the knowledge you have acquired in this chapter about virtualization, discuss the future of virtualization as a business model. 2. Compare and contrast the security concerns in a virtual network infrastructure an ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen