What is the difference between a binary search and a
sequential search?
Answer Posted / shailendra
binary search :
only = is valid, only one comparision os possible, search
all will be in syntex,input file will be sorted order with
the key on which basis we search.
seqential search :
many comparision is possible at the same time,
all the comparision > < = greater equal and other
comparision is possible
srted order is not req.
in syntex only search will mention
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
) how do u code after getting data?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
What is amode(24)?
Describe the cobol database components?
Explain what you understand by passing by value.
What is the Purpose of Pointer in the string?
What is the local-storage section?
Whats the difference between search & search ALL?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the fixed unblock file formats from cobol programs
What is inspect in cobol ?
How do u write test cases?
How to know whether the module is dynamical or statistical?