Question: java 2 help.!!! here is the sample code. Projects Key Strokes Pattern The purpose of this project is to determine the frequency of characters/key-strokes in

 java 2 help.!!! here is the sample code. Projects Key Strokes

java 2 help.!!!

Pattern The purpose of this project is to determine the frequency of

here is the sample code.

Projects Key Strokes Pattern The purpose of this project is to determine the frequency of characters/key-strokes in any writing. By performing an analysis, you may determine the number of key strokes required for the type of characters in a file. You should able to answer a question, such as, how many times the character a, 7, or D' occurs. It would be interesting to know the frequency of key strokes in your own writing. In this projectt you are to develop a Java program that reads a plain text content from an input file and performs the following tasksS 1. You may read one character at a time from the input file. For testing purpose, use the file "isp.tt" provided along with this project. You can determine the type of key stroke from the character you read. Please note that the lowercase a and the uppercase A are different characters as they require different key strokes. They do have different Unicode code assigned to them also. Keep track of the frequency or the occurrence of the characters/key-strokes Generate a report and 2. 3. 4. a. Display the report on the standard output device b. Print the report into an output file called "output.txt" l have provided a sample code that briefly demonstrates how to perform Java file I/O, and document and format your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!