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
Which division and paragraphs are mandatory for a COBOL program?
What is the LINKAGE SECTION used in COBOL?
What are various search techniques in cobol? Explain.
how do you reference the fixed unblock file formats from cobol programs
Describe the cobol database components?
What is rmode(24)
What are the various section in data division and briefly explain them.
Why would you use find and get rather than to obtain?
Which Search verb is equivalent to PERFORM…VARYING?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
What is length is cobol?
how do you reference the esds vsam file formats from cobol programs
What is the local-storage section?
A table has two indexes defined. Which one will be used by the SEARCH?
What is comp-1 and comp-2?