Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Java Expert


Home >> Java

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

Java, Programming

  • Category:- Java
  • Reference No.:- M91411994
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Java

Chatbotscreate a small networked chat application that is

Chatbots Create a small, networked chat application that is populated by bots. Introduction On an old server park, filled with applications from the early days of the internet, a few servers still run one of the earliest ...

In relation to javaa what is constructor the purpose of

(In relation to Java) A. What is constructor? the purpose of default constructor? B. How do you get a copy of the object but not the reference of the object? C. What are static variables and instance variables? D. Compar ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Assessment -java program using array of Assessment -JAVA Program using array of objects

Assessment -JAVA Program using array of objects Objectives This assessment item relates to the course learning outcomes as stated in the Unit Profile. Details For this assignment, you are required to develop a Windowed G ...

Can someone please help me with the following java

can someone please help me with the following java question The input is an N by N matrix of nonnegative integers. Each individual row is a decreasing sequence from left to right. Each individual column is a decreasing s ...

Assignment taskwrite a java console application that allows

Assignment task Write a java console application that allows the user to read, validate, store, display, sort and search data such as flight departure city (String), flight number (integer), flight distance (integer), fl ...

Answer the following question whats the difference public

Answer the following Question : What's the difference public inheritance and private inheritance? What can derived classes inherit from base classes? What cannot be inherited from base classes?

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

Applied software engineering assignment 1 -learning

Applied Software Engineering Assignment 1 - Learning outcomes - 1. Understand the notion of software engineering and why it is important. 2. Analyse the risk factors associated with phases of the software development lif ...

Assessment database and multithread programmingtasktask 1

Assessment: Database and Multithread Programming Task Task 1: Grade Processing University grading system maintains a database called "GradeProcessing" that contains number of tables to store, retrieve and manipulate stud ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As