Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer the 4 questions at the bottom. Thank you! QuoteSearch java is a program that looks through a file of quotes looking for a

Please answer the 4 questions at the bottom. Thank you!

image text in transcribed
QuoteSearch java is a program that looks through a file of quotes looking for a word or a sequence of words and provides an option to save matching quotes to another file. Download the file: Quotes csy and put into the project folder. When running a program within Eclipse or IntelliJ, the project folder is the current working directory. In Eclipse remember to Refresh (F5) the project folder to see new files. Expected Output: Welcome to Quote Search. Enter a phrase: When you were born Found 1 quotes containing when you were born Enter filename or simply Enter to write to screen: technology Alan Kay Technology is anything that wasn't around when you were born. Run the program and see what happens. Then follow a systematic process to see how many of the following problems you can fix: a. If the data file is not found, then output the message Error: not found. Substitute the name of the file for b. Fix the problem with the file not being found. c. Case of the search word shouldn't matter when searching. d. Any leading or trailing spaces around the search word should be ignored. e. Only when there is at least 1 item found, should there be a prompt to save items. f. When a file is successfully written, the message "Wrote file." should be shown. g. All the selected quotes should be successfully written to the file. h. Items in the file are all on one line rather than on separate lines. i. When you contribute changes to the program, replace TODO with your name in the class header comment. Questions: a. Which of the problems in this exercise were you able to resolve? b. How did you go about resolving them? C. Which were problems you tried to fix but were unable to? d. What else might you be able to do to resolve them

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Programming questions

Question

Estimate the shrinkage limits of the soils A-F in Problem 2.58.?

Answered: 1 week ago

Question

=+a. What skills would you want it to emphasize?

Answered: 1 week ago