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
What is the difference between Call and a Link?
What are the various section in data division and briefly explain them.
How to print 10 to 1 if the input have only 10 digit number?
How do u write test cases?
What are the pertinent COBOL
How many bytes S(8) comp field occupy and its maximum value?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What is a SSRANGE and NOSSRANGE?
Which division and paragraphs are mandatory for a COBOL program?
For rewrite, why is it mandatory that file needs to be opened?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What rules are to be followed while using the corresponding options?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
what is difference between cobol and cobol/400