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
what is search and searchall?what is the diffrence between them?give an best example?
what is difference between cobol and cobol/400
Are you comfortable in cobol or jcl?
how do you reference the variable block file formats from cobol programs
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Explain about different table spaces.
HOw can I get the negative sign while deduct high value from low value
In which area will you utilize 88 level items in cobol?
How to remove 2 duplicate records and copy only one using job control language?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What are all the divisions of a COBOL program?
Define static linking and dynamic linking.
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)