# Using Arrays with Sorting and Searching Algorithms

NEED THIS DONE BY SUNDAY APRIL 7TH 2013

NEED IT PUT IN TO WORD SO IT CAN BE SENT WITHOUT ISSUES

NEED SOMEONE WHO IS VERY GOOD WITH JAVA AND CAN DELIVER CHEAP QUALITY WORK

WORK MUST BE DONE EXACTLY AS THE INSTRUCTIONS SAY IN THE FILE BELOW.

THANK YOU

Using Arrays with Sorting and Searching Algorithms

1) This program has six required outputs and involves searching and sorting an array of integers.

Write a Java application that initializes an array with the following numbers, in this order:

23, 17, 5, 90, 12, 44, 38, 84, 77, 3, 66, 55, 1, 19, 37, 88, 8, 97, 25, 50, 75, 61, and 49

Then display the unsorted values. This is required output #1 of 6 for this program.

Using a sequential search of the unsorted array, determine and report the 1-relative (i.e. 1, 2, 3, 4, etc.) positions of the following numbers in the array (or -1 if not found), and the number of searches required to locate the numbers: 25, 30, 50, 75, and 92. This is required output #2 of 6.

Then display the total number of searches for all five numbers. This is required output #3 of 6.

Sort the numbers using any algorithm of your choice and then display the sorted array. This is required output #4 of 6.

Using a binary search of the sorted array, determine and report the 1-relative positions of the following numbers in the array (or -1 if not found), and the number of searches required to locate the numbers: 25, 30, 50, 75, and 92. This is required output #5 of 6.

Finally, display the total number of searches for all five numbers. This is required output #6 of 6.

(There are six required sets of output as numbered in the above paragraphs.)

Try to create an object-oriented solution for your solution vs. a procedural one. For example, you might have a class that stores an array passed by a driver class, with methods for sorting the array, searching the array via a sequential search, searching the array via a binary search, and output the current contents of the array. The driver class could not only pass in the initial array values but call various methods to perform the searches, sorting, and array contents display. You may use any output type class you want (e.g. Scanner, JOptionPane).

Be sure that you include the course, the program number, your name, and the date in your program header. Include additional comments as necessary and maintain consistent indentation for good programming style as shown in the text. Be sure that you capture all of your output for this program's execution for full credit!

2) You may use any Java Integrated Development Environment (IDE) you choose to develop your source code, compile and link your code, and execute your program (jGRASP is recommended). Or you may use the Windows Command Prompt.

You are to submit the following deliverables in a single Microsoft Word file in this order, and clearly labeled.

a) A screen snapshot of your Java source code (all file(s) shown separately) displayed in the IDE or Windows editor showing a successful compilation if possible (only the beginning of the source file(s) are necessary). b) A listing of your entire source code file(s).

c) A screen snapshot of all of your program's outputs for the specified values in Step #1. For this program there are 6 (six) total sets of item(s) to be output. Failure to show any of them will result in lost points. In order not to confuse the grading process, and possible lose points, do not include any other outputs besides these six items.

3) Your instructor may compile and run your program to verify its correctness.

4) You will be evaluated on (in order of importance):

a) Following directions and inclusion and packaging of all deliverables in Step #2.

b) Correct execution of your program (this includes proper compilation). This also includes getting the correct answers!

c) Proper commenting of your Java code and indentation (as specified in the text).

d) Neatness in packaging of your deliverables (to include putting the items in Step #2 in the correct order).

Beceriler: Algoritma, Java, Javascript

İşveren Hakkında:
( 18 değerlendirme ) Bismarck, United States

Proje NO: #4402479

## Seçilen:

lokjaiswal12

Hello, I can do it. I have read the pdf attached and understood all the details.

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(7 Değerlendirme)
3.7

## Bu iş için 22 freelancer ortalamada \$58 teklif veriyor

IMSeriousBidder

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(60 Değerlendirme)
6.7
dobreiiita

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(181 Değerlendirme)
6.4
buzzcoder

Simple project to me, can deliver the code to you within few hours, please check your pm.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(42 Değerlendirme)
5.5
renardpaul

Hello, you will have your Java code and the report finished by Sunday. Paul

in %bids___i_period_sub_35% gün içinde262%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(23 Değerlendirme)
5.2
nani01029x

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(44 Değerlendirme)
5.1
pbq

Java expert

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(10 Değerlendirme)
4.6
duchuyctlk

Let java expert do it for you.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(27 Değerlendirme)
4.0
Calleus

Hi, I have experience with JAVA and algorithms. Let me help you. I am ready to start;

in %bids___i_period_sub_35% gün içinde60%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(10 Değerlendirme)
3.6
DenialWang

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(3 Değerlendirme)
3.5
iit2009013

Hi, I can do this project in specified time period. Regards, Avi

in %bids___i_period_sub_35% gün içinde35%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)
2.9
crazynightwalker

Hi. I have rushed to read the descriptions here - this is a relatively straightforward assignment and I can handle it in time for you, sending it tomorrow or on Sunday as you indicated. Is my price cheap enough? I am g Daha Fazla

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(7 Değerlendirme)
2.5
romanuwa

I can do this for you, experienced in Java.

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)
2.3

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(3 Değerlendirme)
1.9

Hey, I am expert in JAVA and best in Design And Analysis of Algorithms. I would be your best choice. And please see pmb. Thanks.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
fattahaabdul

I am a Software Developer and got a experience of 4 years it. Expert with working in Java. So i can easily do it. Please give me the proposal.

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
lequynhtrang

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
DamodarKumar

iam java developer with more than 8 years of experince. i can do this job

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
leavithan0507

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0
jpreetsingh

Hi , I would like to work on this project

in %bids___i_period_sub_35% gün içinde154%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)
0.0
GauravMalik86

Work 3 years as a Software Developer. Familiar with Enterprise technologies (Different Application Servers) and many programming languages. Technical Skills: Programming Languages ( 5 years ) Agil Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)
0.0