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

Whats the difference between search & search ALL?

5896


What is the difference between external and global variables in COBOL?

1052


What are different data types in cobol?

916


Write down the divisions of cobol program?

852


how do you define single dimensional array and multidimensional array in your cobol?

871


how do you reference the printer file formats from cobol programs

905


Explain how to differentiate call by context by comparing it to other calls?

914


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

976


What is the utilization of copybook in cobol?

892


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

1896


Can you please let me know the centre name of INS certification in Kolkata.

1952


Define static linking and dynamic linking.

877


State the various causes of s0c1, s0c5 and s0c7.

850


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

1024


What are various search techniques in cobol? Explain.

875