What is the difference between a binary search and a
sequential search?

Answer Posted / anupam

binary search is performed by calculating mid point whereas sequential search is performed by sorting all elements.prior is the faster.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what you understand by passing by value.

689


Which is not true about evaluate statement

1564


What the difference is between continue and next sentence?

651


How do get the result of your program directly on your pc?

1874


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

703






HOw can I get the negative sign while deduct high value from low value

1781


Explain how you can characterize tables in cobol?

636


What is the Purpose of Pointer in the string?

636


how do you reference the rrds file formats from cobol programs

789


What is the difference between PIC 9.99 and PIC9v99?

771


How do you differentiate between cobol and cobol-ii?

646


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2091


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2095


What is the difference between perform … with test after and perform … with test before?

871


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

1915