What is the difference between a binary search and a
sequential search?
Answer Posted / muhammad abdul aleem
Binary Search | Sequential Search
1.Search All | 1.Search
2.Data should be in sorted | 2.Data can be in any order
order |
3. Only 1 When condition | 3. Any no. of when conditions
can be used | can be used.
4. Only '=' relational | 4. Any relational operator.
operator is used |
5. Access is faster | 5. Access is slow
6.Used for only single | 6. used for single/Multi
dimentional array | dimentional array.
| Is This Answer Correct ? | 124 Yes | 19 No |
Post New Answer View All Answers
Name some of the examples of COBOl 11?
what is amode(24), amode(31), rmode(24) and rmode(any)?
what are decleratives in cobol?
Write down the divisions of cobol program?
How to know whether the module is dynamical or statistical?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
i need a small 3d program using inline and outline.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
) How do u handle errors in BMS macro?
What is the Purpose of Pointer in the string?
How do you get the data to code the BMS macro?
how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between perform … with test after and perform … with test before?
what is the use of outrecord?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this