Part 1 or your initial post, utilizing the University of Arizona Global Campus Library or outside credible sources (defined in the Scholarly, Peer Reviewed, and Other Credible Sources (Links to an...

1 answer below »
Please see attachment reference needed for part 1 is 250 words, part 2 is the java program, a zip file is needed, part 3 is a 200 word essay


Part 1 or your initial post, utilizing the University of Arizona Global Campus Library or outside credible sources (defined in the Scholarly, Peer Reviewed, and Other Credible Sources (Links to an external site.) table), describe the various types of sorting and searching algorithms and give an example of each other than the examples provided in the assigned readings. Apply algorithmic design and data structure techniques in developing structured programs by discussing time and space complexity in relation to whether using a sort algorithm is better than using a search algorithm. Does it really matter with the capabilities of computers today? Provide justification to support your answers. Include your references, formatted in APA as outlined by the UAGC Writing Center (Links to an external site.). Your initial post must be a minimum of 250 words. Part 2 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/student’s name · Course name and number · Instructor’s 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 Week 2 Zip File Submission page Part 3 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. Part 1 or your initial post, utilizing the University of Arizona Global Campus Library or outside credible sources (defined in the Scholarly, Peer Reviewed, and Other Credible Sources (Links to an external site.) table), describe the various types of sorting and searching algorithms and give an example of each other than the examples provided in the assigned readings. Apply algorithmic design and data structure techniques in developing structured programs by discussing time and space complexity in relation to whether using a sort algorithm is better than using a search algorithm. Does it really matter with the capabilities of computers today? Provide justification to support your answers. Include your references, formatted in APA as outlined by the UAGC Writing Center (Links to an external site.). Your initial post must be a minimum of 250 words. Part 2 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/student’s name · Course name and number · Instructor’s 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 Week 2 Zip File Submission page Part 3 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.
Answered 15 days AfterJan 30, 2022

Answer To: Part 1 or your initial post, utilizing the University of Arizona Global Campus Library or outside...

Manikandan answered on Feb 04 2022
120 Votes
Algorithms:
    An algorithm means a way of solving a specific problem. It takes a set of inputs and produces the desired output. Using this algorithm we can identify the complexity of the program.
Sample algorithm:
    Printing
integer array in reverse order.
        //input
        int array[] = {10,20,5,8,15,25,30,28};
        for(int i=array.length-1;i>=0;i--) {
            System.out.print(array[i]+" ");
        }
        //output
        28 30 25 15 8 5 20 10
In programming different types of algorithms are available for sorting and searching elements in the collection framework. Collection means it may be an array, list, set, map, etc.
Searching algorithm:
    This algorithm is used to search an element from a collection of elements. The collection may be an array, list, map, or set. If you are using this algorithm then you can find an element t effectively. This algorithm will have properties called time complexity and space complexity. These properties are will be used for which algorithm will be effective in search elements.
    Sample algorithm for search:
        int inputValue = 5;
        
        int array[] = {10,20,5,8,15,25,30,28};
        
        for(int i=0;i            
            if(array[i] == inputValue) {
                System.out.println("Given value: "+ inputValue + " is avaliable in "+ i +" index.");
                break;
            }
        }
        //output is
        Given value: 5 is avaliable in 2 index.
    Here input value is 5 this we need to search in that array whether that value is available in that array or not. So for that, we need to compare that input value with each element of the array.
Types of searching algorithms are follows
1) Linear Search
2) Binary Search
3) Interpolation Search
Linear Search:
    This algorithm is used to search elements linearly or sequentially. This means that we need to search elements one by one. It sequentially checks each element of the array until the targeted element is reached.
    Example:
    int inputValue = 5;
        
        int array[] = {10,20,5,8,15,25,30,28};
        
        for(int i=0;i            
            if(array[i] == inputValue) {
                System.out.println("Given value: "+ inputValue + " is avaliable in "+ i +" index.");
                break;
            }
        }
        //output is
        Given value: 5 is avaliable in 2 index.
    The time complexity of this algorithm is...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here