Get in touch with us
Send us an e-mail
Question
Anagrams:
An anagram is a rearrangement of the letters of a word or phrase into a new word or phrase. Some of them can be quite amusing or apt. For example:
· ok state cowboy = wacky toe boots
· live orange = regain love
· video games = gives a demo
· dr dave cline = devil dancer, evil cad nerd
Instructions:
1. Write a console application that prints out a list of all the anagrams from a phrase, with one anagram on each line.
2. Two pieces of input are required, (1) the dictionary file, and (2) the word or phrase to be rearranged. Your program needs to be able to use different dictionary files and query phrases based on keyboard input, either as command line arguments or as prompted by the program.
3. Create all of the anagrams from the input phrase, and print them out, one per line. Only generate each anagram once.
4. Generate the anagrams in order in terms of number of words. That is, generate all anagrams with 1 word, then all with 2 words, then all with 3, and so forth.
5. Test out your program on a number of phrases to find some good anagrams.
6. Optional: be able to exclude certain words, or demand that some words be part of the anagram.
Question checklist:
· Write a console program to generate anagrams.
· Let the user input both the dictionary file name, as well as a phrase.
· Generate anagrams in order from smallest to largest number of words.
· Come up with some good anagrams and write them down to share with the class.
· Make sure the programs compile and run from the command line without modification.
Summary
The question belongs to Computer Science and it discusses about writing a Java program which can develop anagrams by using the dictionary file attached.
Total Word Count NA
Automata were definitely my problem area as far as computer science and programming assignments are concerned. However, after consulting the experts here everything was sorted out and my grades also improved. I will definitely thank the wonderful team of HwA to help me out during my crunch time.
You guys never fail to surprise me. Thanks for helping me with my finance assignment.
I was having a difficult time understanding the laws of conservation of mass and energy and use of tie components. With the brilliant tutors at TheReliableTutor I now have a much clearer understanding of the concepts. Their timely and professional tutoring with my chemical engineering assignments has helped me improve my grades and I am very satisfied with the way they provide their services
Being a computer science engineer is my dream and it wouldn’t have possible for me to understand the basics of C++ programming without the help of TheReliableTutor and the engineering assignment tutors. I grasped C programming on my own, but for C++ and Java, I am definitely grateful to TheReliableTutor.
I ordered my zoology assignments to these guys. First I was reluctant to pay them. However after the initial payment, they provided me a draft of work. I was indeed amazed with the work quality and I ordered for the rest.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.