Question: Important Information: For Tasks 1 to 4 , there is no need for user input. If a question requests testing with your name, simply create

Important Information: For Tasks 1 to 4, there is no need for user input. If a question requests testing with your name, simply create a local variable (String name) and initialize it with your name. This approach streamlines the testing process.
Task 1) Implement a method, named "SentenceReverser," which accepts a sentence as input and displays the reversed sentence. In the main method, perform testing of the SentenceReverser method using your name (i.e. "Mustafa Ocal" --> "lacO afatsuM").
Task 2) Create an array to store the names of your favorite books. Implement a method for searching a specific book within the array, and ensure that it displays both the index number and the title of the book. In the main method, perform testing.
Task 3) Create a method that accepts an integer as input and returns the sum of its digits. In the main method, conduct testing of this method using your Panther ID.
Task 4) Create a method that takes a string as input and determines whether the length of the provided string is a prime number. In the main method, declare a String variable and initialize it with the name of our class. Subsequently, perform testing of the created method using the length of this string variable.
Task 5:
a) Construct a program that prompts the user to input the number of students they wish to document. Subsequently, within a loop, gather information on each student, including their name and corresponding scores, and record this data into a text file named "Students.txt." The structure of the text file should resemble the following:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!