What is the difference between a binary search and a
sequential search?
Answer Posted / shyamendra
Binary search is attampt on file which is in sorted
order.Search All is the key word.Only one 'WHEN'
& 'AND'.Only '=' is used.
While Linear search can be attempt on any
file.Any logical operation is possible.Multiple 'WHEN' are
possible.Index is set to 1 before starting searching.When
table size is small then only we use this.
| Is This Answer Correct ? | 40 Yes | 14 No |
Post New Answer View All Answers
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
Write down the divisions of cobol program?
How are the next sentence and continue different from each other?
Write the code to count the sum of n natural numbers.
What is the difference between binary search and sequential search?
What is report-item in COBOL?
For rewrite, why is it mandatory that file needs to be opened?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
how do you reference the variable block file formats from cobol programs
What is the difference between comp and comp-3?
What is amode(31)
) How do u handle errors in BMS macro
What are the different rules for performing sort operation?
What is difference between static and dynamic call in cobol?
Explain about different table spaces.