Reference: https://scdsb.elearningontario.ca//content/enforced/20976326-EL_2122Sem2__CS_ICS4UV-893064_1_ELO/3%20letter%20words.txt?_&d2lSessionVal=Sv6hlaCvlEaUcYG223MvmwxMr&ou=20976326 Also if you are able to, can you put this into a git hub
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Wordle Inspired Program In order to demonstrate your mastery of the following concepts you are going to write a program involving words like the game wordle. Some of the concepts involved: Files, Arrays, Arraylists, Nested Loops, Searching, Sorting, String Manipulation Requirements: Write a method driven program that will perform the following: Creates all combinations of 3 letter words and stores them in an appropriate memory location(arraylist) Read in a file of legal (scrabble recognized) 3 letter words and store. (easy to find google it, create a file) Compare the lists or words using a search algorithm (not a built in function) to check your list against the scrabble one and remove any words that are not recognized by scrabble as a legal word. (yes I know seems stupid since you have a list already that you saved from the internet - making sure you know how to search and modify arraylists) Once having picked out the words by searching and deleting words that are not valid from your created list of words you will have to perform more searches and sorts. You will find the words in your list that have a middle letter of either" c,o, m,p,u,t, e, r, or s" and save the words in another arraylist or modify your current arraylist. You will then sort this new list alphabetically by middle letter using different methods(sort algorithms) and use a timer to measure efficiency of each sort. (so you will print the list 4 times basically so you might want multiple arrays or arraylists of the original to sort) You will show the time it takes to sort the words using each method) Wordle Inspired Program In order to demonstrate your mastery of the following concepts you are going to write a program involving words like the game wordle. Some of the concepts involved: Files, Arrays, Arraylists, Nested Loops, Searching, Sorting, String Manipulation Requirements: Write a method driven program that will perform the following: Creates all combinations of 3 letter words and stores them in an appropriate memory location(arraylist) Read in a file of legal (scrabble recognized) 3 letter words and store. (easy to find google it, create a file) Compare the lists or words using a search algorithm (not a built in function) to check your list against the scrabble one and remove any words that are not recognized by scrabble as a legal word. (yes I know seems stupid since you have a list already that you saved from the internet - making sure you know how to search and modify arraylists) Once having picked out the words by searching and deleting words that are not valid from your created list of words you will have to perform more searches and sorts. You will find the words in your list that have a middle letter of either" c,o, m,p,u,t, e, r, or s" and save the words in another arraylist or modify your current arraylist. You will then sort this new list alphabetically by middle letter using different methods(sort algorithms) and use a timer to measure efficiency of each sort. (so you will print the list 4 times basically so you might want multiple arrays or arraylists of the original to sort) You will show the time it takes to sort the words using each method)
Expert Answer:
Answer rating: 100% (QA)
I cannot access external content such as the URL youve provided However I can help you outline how t... View the full answer
Related Book For
Microeconomics An Intuitive Approach with Calculus
ISBN: 978-0538453257
1st edition
Authors: Thomas Nechyba
Posted Date:
Students also viewed these programming questions
-
(i) Write down the linear program relaxation for the vertex cover problem and solve the linear program. [6 marks] (ii) Based on the solution of the linear program in (b)(i), derive an integer...
-
Here are definitions of sequences and trees with integer elements: type iseq = Nil | Cons of int * (unit -> iseq) type itree = Leaf of int | Branch of itree * itree (a) In an ascending sequence such...
-
Abardeen Corporation borrowed $90,000 from the bank on October 1, 2016. The note had an 8percent annual rate of interest and matured on March 31, 2017. Interest and principal were paid in cash on the...
-
(a) The reaction is first H2O2(aq) H2O(I) + O2(g) is first order. Near room temperature, the rate constant equals 7.0 10-4s-1. Calculate the half-life at this temperature. (b) At 415 oC, (CH2)2O...
-
Organic Food Co.s Cash account shows a $5,500 debit balance and its bank statement shows $5,160 on deposit at the close of business on August 31. Prepare a bank reconciliation using the following...
-
Suppose that the current measurements in a strip of wire are assumed to follow a normal distribution with a mean of 10 milliamperes and a variance of 4 (milliamperes) \({ }^{2}\). What is the...
-
The rotor (flywheel) of a toy gyroscope has mass 0.140 kg. Its moment of inertia about its axis is 1.20 X 10-4 kg m2.The mass of the frame is 0.0250 kg. The gyroscope is supported on a single pivot...
-
Create the graph in excel For the following wave functions, assume amplitude A = 20 mm and force frequency f = 10 Hz (= 62.8 rad/sec). Set up your time signal equations so that each sine wave...
-
Alan and Angel Young are both 36 years old. Mr. Young recently accepted a new job making $93,000 a year and Mrs. Young is currently unemployed. The Youngs have two children (ages 4 and 2), a dog, and...
-
The project management information system, such as any automated system that can be utilized during the Direct and Manage Project Work process, will include all the following EXCEPT: A scheduling...
-
A unilateral refusal to deal cannot violate antitrust law. (True/False)
-
Why did the Great Recession lead to the decline of the Great Moderation consensus? Given events, why is it predictable that a new consensus has not emerged?
-
What is a per se violation?
-
An agency cannot conduct a search without a warrant. (True/False)
-
The National Coal Association (NCA) is a group of independent coal-mining companies. Demand for coal falls, so the price drops. The Coal Refiners Association, a group of coal-refining companies,...
-
The risk-free rate is 6% and the expected rate of return on the market portfolio is 13%. a. Calculate the required rate of return on a security with a beta of 1.15. (Do not round intermediate...
-
Record the following selected transactions for March in a two-column journal, identifying each entry by letter: (a) Received $10,000 from Shirley Knowles, owner. (b) Purchased equipment for $35,000,...
-
A balloon is launched at sea level, where the air pressure is \(100 \mathrm{kPa}\). The helium has a volume of \(1000 \mathrm{~m}^{3}\) at this altitude. What is the volume of the helium when the...
-
A balloon is at a height of \(5.0 \mathrm{~km}\) and is descending at a constant rate. The buoyancy force is directed ; the drag force is directed A. Up, up B. Up, down C. Down, up D. Down, down...
-
A balloon is launched at sea level, where the air pressure is \(100 \mathrm{kPa}\). The density in the hot-air chamber is \(1.0 \mathrm{~kg} / \mathrm{m}^{3}\). What is the density of the air when...
Study smarter with the SolutionInn App