Create a program that automatically generates words

Assignment Help JAVA Programming
Reference no: EM13842186

Create a program that automatically generates words from letters. Your program/project should be called

[YourName]-Project.java (replace [YourName] with your actual name).

The program should ask the user for 5letters and then build valid English words using those letters (use each

letter only once) and output them in a table format(showing per line: the word, its length, and its number of

points) and organized (ordered) by one of these criteria:

Criteria Name Meaning and Order

1 Length Determine the length of the words (the number of letters in the word) and show the words in the decreasing order of the word length

2 Points Determine the total number of points (the sum of the points/values for each letter from the word - see the footnote

1

) and show the words in the decreasing

order of the total number of points

aa

For example for the

letters C, J, A, V, A, for the

criterion 1, the output

should be:

WORD LENGTH POINTS

JAVA 4 17

AVA 3 7

VAC 3 10

AA 2 2

For the criterion 2, the output should be: WORD LENGTH POINTS

JAVA 4 17

VAC 3 10

AVA 3 7

AA 2 2

aa

The program should allow the user to select and change the criterion  and select a different set of letters (i.e. play again). The program should work for any combination of letters but no other characters. The program should be user-friendly (have a good enough interface that allow the user to easily use the program) and be well-documented (follow the Assignment Code Convention, explain what each line of code does). To validate the words, your program should read thelist of valid words from the attached file WORDS.txt and store it in the memory in a structure that would facilitate the search for words, letter, or groups of letters. You can use a one-dimensional array or oneor more arrays. Take a screenshotof the editor window (showing the output) and saveit as [YourName]-Screenshot (make sure you preserve the image file extension) or paste the screenshot(s) in a documentcalled [YourName]-Screenshot. Replace [YourName] with your actual name. If you have different output you want to capture in your screenshot or the output does not fit on one screenshot, create and submit different screenshot files.

Create a ZIP archive containing the project folder and call it [YourName]-Project.zip. Replace [YourName] with your actual name. After you make the code work as requested above, you can try to earn extra points by making the program better (quality of code, interface, speed, memory usage, etc) without removing any requests above. Email me with your proposal for improvements/extra thingsto do and I will let you know if you can get extrapoints for that and how many. SUBMIT the [YourName]-Project.java, [YourName]-Project.zip, [YourName]-Screenshot, and all the other classes you created for the project on eCampus under the Final Project.

The value (number of points) for each letter are listed in the table below:

Letter: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z


Value: 1 4 4 2 1 4 3 3 1 10 5 2 4 2 1 4 10 1 1 1 2 5 4 8 3 10

Reference no: EM13842186

Questions Cloud

Prepare a schedule for each of the three years : Prepare a schedule for each of the three years (2015through 2017) in which you summarize the transactions as they affect permanently restricted, temporarilyrestricted, and unrestricted net assets.
What is each projects irr : What is each projects IRR - what is the crossover rate, and what is its significance and what is the regular payback period for these two projects?
Writing term paper on foster children and special education : Writing a term paper on foster children and special education. The goal is to learn about the unique problems of foster care children who have special education needs, such as, do they tend to receive less services overall, what percentage of spec..
Business practice illustrates the basic principle concept : Give a visual by providing example of a business utilizing the concept principle. Explain how the business practice illustrates the basic principle concept
Create a program that automatically generates words : Create a program that automatically generates words from letters Solution
Prepare a government-wide statement of net assets : Prepare a government-wide statement of net assets.Be sure to show the transportation authority as business-type activity. If the township were to prepare fund statements,how would it report the housing authority's specialrevenue fund?
What is the firms corporate cost of capital : What is the firm's cost of equity estimate according to the DCF method and what is the cost of equity estimate according to the CAPM - What is the firms corporate cost of capital?
Declare a global array solution : Declare a global array Solution
Report both the debt and the golf course in same category : Should the city, in its government-wide statement of net position, report the debt as a governmental activity and the golf course as a business-type activity? Alternatively, should it report both the debt and the golf course in the same category o..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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