Design an application that opens and analyses word files, Programming Languages

Design an application that opens and analyses word files.

Requirements:

Create an application that analyses text documents. It should open a text file, read each word into an appropriate data structure and analyse them. Once the contents of the document has been analysed, some statistics about the contents should be displayed.

These statistics should be:

                The most common word       (including the number of times it occurs in the file)

                The longest word                 (including the length of the word)

                The shortest word                (including the length of the word)

                The average word length   

If two or more words fulfil any of the previous conditions, all words should be displayed in the statistics output.

The application should also include functionality to search for a specific word or words of a certain length. If the user searches for a specific word, the number of times that word appears in the text file should be displayed. If a specific word length is searched for, all words of that length should be displayed (in sorted order).

You should decide what controls to use in the design of your application. However, it should include a Menu and use a dialog box that allows the user to select a file to open (.txt files only).  Another requirement of the application is that all input and operations in the application should have any possible errors handled appropriately.

Posted Date: 2/19/2013 5:22:58 AM | Location : United States







Related Discussions:- Design an application that opens and analyses word files, Assignment Help, Ask Question on Design an application that opens and analyses word files, Get Answer, Expert's Help, Design an application that opens and analyses word files Discussions

Write discussion on Design an application that opens and analyses word files
Your posts are moderated
Related Questions
write a program to sort the file sequential order and store on magnetic tape and print sorted tape as the output of the program.

What is the switch Statement? This is a different form of the multi way decision that It is well structured, but can only be used in certain cases where: 1. Here, Only one var

Explain the applet Element ? Applets are embedded in web pages by using the and tags. The APPLET element is same to the IMG element. Like IMG APPLET references a source fil

Selfcare Project:   Technology Used Strut Frame work, WAS 5.1, WPS 6.0, DB2, AJAX, Eclipse, Rational Application Developer 6 and  DB2 Selfcare is a big umbrella under whic

You are asked to develop a replicator (client) that distributes a large job over a number of computers (a server group) on a single switched LAN (our BU04 lab). In this assignment,

I am getting error at business layer object in code behind page.

Write a script that will list and count all of the images in a given HTML web page. Each image starts with

Define the If - else statement - computer programming? The If - else statement The universal form of if - else statement is                         if(expression)

A large offshore accommodation barge is to be converted into a floating luxury hotel.  It will be connected to a single point mooring buoy (SPM) in a beautiful inland loch where th

One of the main strengths of the Perl programming language are its powerful text manipulation features. In this assignment, you will put them to use for writing a Perl program that