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

Answer Posted / sharath

Binary search
1)It is for search all.
2)access is faster.
3)sort order is either ascending or descending.
Sequential search
1)It is for linear search
2)access is slow
3)only ascending order

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

2654


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

984


how can i see junk values in dclgen or in hostvariable of comp ?

2532


what is difference between cobol and cobol/400

21547


How are the next sentence and continue different from each other?

753






Explain the configuration section of a cobol program with examples of syntax.

648


What is difference between static and dynamic call in cobol?

766


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3706


What is the LINKAGE SECTION used in COBOL?

884


how do you reference the fixed unblock file formats from cobol programs

698


What is the Purpose of POINTER Phrase in STRING command in COBOL?

711


Difference between array and sub-script ?

1154


Why occurs cannot be used in 01 level in COBOL?

707


What are the pertinent COBOL commands?

2617


) what is the difference between AID and HANDLE AID?

1627