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

Answer Posted / guest

Binary search is search all. sequential search is the
linear serach.

Example for Search all: File contains 100 records. supose
if u r searching for 75 th record, first entire file
divided into two parts, it will check , whether record is
in first half or second.. like that file ds divded into
diffrent parts

sequential serach: if the file contains 100 records, spose
if u r looking for 75th record, it will start serach from
first record...

Is This Answer Correct ?    98 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you define a variable of comp-1 and comp-2?

912


if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need

1061


Name some of the examples of COBOl 11?

2880


What is a SSRANGE and NOSSRANGE?

1111


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

945


What is cobol?

946


What is report-item in COBOL?

894


what is the use of outrecord?

1968


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2286


) what is the difference between AID and HANDLE AID?

1884


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2228


Explain what you understand by passing by value.

908


What are the different rules of SORT operation?

897


What are the different rules to perform a Search?

809


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

863