What is the difference between a binary search and a
sequential search?
Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between binary search and sequential search?
i need a small 3d program using inline and outline.
What is the difference between PIC 9.99 and PIC9v99?
What are literals?
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
How arrays can be defined in COBOL?
What is rmode(24)
how do you reference the printer file formats from cobol programs
Can we redefine the field of x(200) to less than 200?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
Which division and paragraphs are mandatory for a COBOL program?
What are various search techniques in cobol? Explain.
) How do u handle errors in BMS macro?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
State the various causes of s0c1, s0c5 and s0c7.