Find the number of tokens

Assignment Help JAVA Programming
Reference no: EM131588580

Pair Programming                  

I. Implement MyCounts9 to process a text file, practice with arrays, and find the following:

1.Number of tokens

2.Number of uppercase letters

3.Number of lowercase letters

4.Number of digits

5.Number of other characters

6.Longest token in file

7.Shortest token in file (> 0)

8.List of all other characters

9.A header with your team number, your name, your partner's name, course, and date.

II. You may implement additional functions for possible bonus points.

III. I have attached a sample data text file to help you text your code. Your program should work with any other text file. Make sure that all program files and data files are stored in the same folder.

IV. Do not modify the driver.

V. Generate an output similar to the sample output format below.

VI. Make sure your program is well documented and readable. Also, the output is well labeled, indented, and aligned.

VII. Attach (do not turn in any hardcopy) via BlazeView the following items:

a. Each group should submit a single copy of the code and sample output.

b. Each team member should submit her/his report.

c. Do not submit driver or data file.

d. Zip and attach all your files

VIII. Sample input

CS Math1111 CS1302A Spring
VSU Valdosta Georgia

123  4567

-2.5   +100.75   -1234.567.3456  --1234

Is it Thanksgiving?  No!!

Said Fares

IX.             Sample output

*******************************************************************                             

            Team Number                        99                 

            Team Member 1:                     John               

            Team Member 2:                     Amanda             

            Course:                           CS 1301            

 

            Date:                              Tue Mar 07 11:51:18 EST 2017

 

            *******************************************************************                             

            Number of Tokens:                  19                 

            Longest Token:                     -1234.567.3456     

            Shortest Token:                    CS                 

            Number of digits:                  37                 

            Number of uppercase letters:     17                 

            Number of lowercase letters:     43                 

            Number of other characters:      12                 

            List of other characters:          -.+.-..--?!!       

 

            *******************************************************************                             

                        Bonus:             None

Attachment:- Project.zip

Reference no: EM131588580

Questions Cloud

When the procedure is called : In Visual Basic, Please write a procedure named TimesTen that accepts a single Integer argument. When the Procedure is called
Find the coefficient of thermal expansion : Determine joint displacements and axial forces in the truss shown in Figure if instead of load P the diagonal member experiences a temperature decrease of 70°F.
Explain how other social institutions such as media : Discuss tensions or pressures that women face between work and family. Explain how other social institutions such as media
Why is a reproductive justice framework important : Why is a reproductive justice framework important, especially for women of color
Find the number of tokens : Implement MyCounts9 to process a text file, practice with arrays, and find the Number of tokens - Number of lowercase letters - Number of other characters
Determine joint displacements in the truss : Determine joint displacements and axial forces in the truss shown in Figure. During construction the diagonal member was fabricated in too short and was forced.
What are the leaders most important tasks : What traits and behaviors are at the core of your leadership model?What are the core values that your leadership model emphasizes?
Determine joint displacements and axial forces : Determine joint displacements and axial forces in the space truss shown in Figure if instead of load P the member between nodes 1 and 2 experiences.
Describe the process for capturing needs for individuals : Describe the process for capturing needs for individuals, groups, and the wider skills for the organization.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Create your own green color for the leaves

Create your own green color for the leaves and display a solid green ellipse filled with your green color whose center is at the beginning of the drag and put a brown rectangle below it as the trunk of the tree.

  Implement a modified version of the card game war

Implement a modified version of the card game WAR

  Establish a connection to the mycustomers database

Write a Java program to establish a connection to the MyCustomers database using the JDBC driver to retrieve the entire Customers and Orders table.

  Discuss the good and the bad of javascript libraries

Discuss the good and the bad of JavaScript Libraries. In what circumstances would you use Libraries? Describe what design measures you will incorporate in your web sites to assure web site security? Provide some examples.

  Write a portion of a program for a church website

Write a portion of a program for a church's website. The program will be used for a chatting feature, which should include an Input Box that requests the user's name.  The message box should include the user's name and the Scripture of the Day (ch..

  Simple pacman-like game with one player

In this assignment you make a simple Pacman-like game with one player, 3 dots, an exit and an enemy - Explanation of the above sample output

  Write a statement that prints the number of characters

Write a statement that prints the number of characters in a String object called myString. Write statements to prompt for and read user's age using Scanner variable

  Create web application uses visual web java server

Create the Web application which uses Visual Web Java Server Faces framework and either Apache Tomcat or Glassfish as the server.

  What is difference between if statement and switch statement

What are the problems faced by Java programmers who don't use layout managers? What is the difference between an if statement and a switch statement?

  Add event handling to the button find out the value the

make a windows program in java that has a labeled text field for the price of a meal. there are different discounts for

  Print out each word of the input sentence to a separate line

After this, create another program that could be used to take the words in words.txt and recreate the original sentence - this time printing the result to the screen. Please write well commented code.

  Critics of american often that teacher''s unions represent

Which organization has proposed a set of standards for both elementary level and secondary-level teachers? According to the latest info.,  teachers will be most needed in which of the following areas: Critics of American often argue that teacher's un..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd