Search Program

For this assignment, you were just hired as a junior software developer as part of a team of developers for a software contracting company. Your company has just won a big contract to develop a software application for the United States Department of Defense. The team lead has tasked you with developing a Java program that uses a binary search algorithm looking for the numbers 17 and 45 from an array. Because you do not have your secret clearance yet, a senior developer will later take your code and modify it for the requirements of the contract.

In this coding assignment you will utilize the Java syntax and techniques you learned while reviewing the required resources for Week 2. Include comments for each section of the program. You may select appropriate variable names as long as proper Java syntax is used. You will also submit your source code.

Input:
In the input section, you are to create a Java program that uses a binary search looking for the numbers 17 and 45 from an array. Since you are a junior developer, hard code the array as follows:
{5,10,15,20,25,30,35,40,45,50,55,60,65,70}

Processing:
In the processing section, use the appropriate Java syntax to perform the lookup.

Output:
Your display must include the following:

  • A prompt indicating if 17 was found
  • A prompt indicating if 45 was found

Your code must include the following as comments:

  • Name of program
  • Author/students name
  • Course name and number
  • Instructors name
  • Date submitted

Take a screen shot of the results page and save the image. When you are finished with your Java program, zip the file(s). Next, submit the zip folder that contains the running source code to the page. If you need more guidance, review the . Be sure that you are sharing the zip folder with your instructor only. Your instructor will run your source code to ensure that the functionality runs correctly.

In a Word document, express the various types of algorithms, including searching and sorting used in your Java program in a minimum of 200 words. Paste the image of your results and your source code into the document. Submit your Word document to Waypoint for grading.

Carefully review the for the criteria that will be used to evaluate your assignment.

WRITE MY PAPER

Comments

Leave a Reply