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
How many sections are there in data division in COBOL?
Discuss about changing dataset name in proc.
What are the access modes of START statement?
) How do u handle errors in BMS macro?
What do you understand by psb and acb?
what are decleratives in cobol?
how to access the file from prodution from changeman tool and to submit a file to production
What are the pertinent COBOL
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
What is the difference between PIC 9.99 and PIC9v99?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
) how do u code after getting data?
example for sub strings ? and refernce modifications whit output pls
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
Are you comfortable in cobol or jcl?