What is the difference between a binary search and a
sequential search?
Answers were Sorted based on User's Feedback
Answer / anil prajapati
in cobol Binay search is referred as search all , record
should be in sorted order but sequential search is termed
as search in sequential search not required that record
should be sorted order
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / 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 |
Answer / sharath
Binary search
1)It is for search all.
2)access is faster.
3)sort order is either ascending or descending.
Sequential search
1)It is for linear search
2)access is slow
3)only ascending order
| Is This Answer Correct ? | 2 Yes | 0 No |
Minimum how many Number of Paragraphs are there in ID- Divison?
If i got a job on mainframe technology, will i have a bright future?. Some people are discouraging me. Let me know, is it true? Please bring back me from the confusion.
Can we access the a[0] in the array ?
How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?
COMP?
What is a SSRANGE and NOSSRANGE?
How do pass the values to the parameters in cobol
What is the default value of DISP for temp datasets
What is Alternate Index ? How is it different from regular index ?
How can we find out wether to declare the data items like Integer, Char,Comp? If comp types how can we decide wether it is Comp and Comp3.How it is? Please Explain... Cheers.
what is ASRA, AEY9?
where will we code call by content and call by reference dude pls reply soon ?