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

How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


) how do u code after getting data?

1580


How do you differentiate between cobol and cobol-ii?

656


Can a Search can be done on a table with or without Index?

802


Mention the guidelines to write a structured cobol program?

620






What is the difference between goback, stop run and exit program in cobol?

929


Explain about different table spaces.

650


explain sorting techniques in cobol program?

690


What are the different rules to perform a Search?

618


How do define dynamic array in cobol.

671


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

720


How can you get the ksds file records into your cobol program?

644


Which division and paragraphs are mandatory for a COBOL program?

709


Write the code implementing the perform … varying.

646


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

421