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
How do you define a variable of comp-1 and comp-2?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
Name some of the examples of COBOl 11?
What is a SSRANGE and NOSSRANGE?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
What is cobol?
What is report-item in COBOL?
what is the use of outrecord?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
) what is the difference between AID and HANDLE AID?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Explain what you understand by passing by value.
What are the different rules of SORT operation?
What are the different rules to perform a Search?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?