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
A number of simple student records are written to a text file. The format of some typical linesshould be - Task (1): Using a text editor, create a file with 10 such reco



Write a Prolog predicate has_duplicates(L) that is true if list L contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,e,b,

Perform Dbscan Clustering and K means I have a simple array of data. I need to perform dbscan clustering and k means based on the values in the array.detailed description  bel

You will design and implement a program that will • analyse the various characteristics of a maze, represented by a particular coding of its basic con- stituents into numbers store

In this assignment, you will design a program to perform the following task: Calculate the total price to purchase all the components required to build a state-of-the-art gaming c

The last exercise of each assignment will be continuous from assignment to assignment and will have the goal of building an e-store website by the end of the course. For the fir

Write a program that inputs two positive integers of, at most, 20 digits and outputs the sum of the numbers. If the sum of the numbers has more than 20 digits, output the sum with

1)      Go to Start -> Programs->Accessories->Notepad. 2)      Start with a document type tag & an opening tag. Enter the given line in your doc.