What is the difference between a binary search and a
sequential search?
Answer Posted / sahil chawla
HI !!!!
I m Sahil Chawla
It is to be noted that in binary search MID=(start+end)/2
is to be found
but in linear search there is no such condition
| Is This Answer Correct ? | 18 Yes | 7 No |
Post New Answer View All Answers
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
A table has two indexes defined. Which one will be used by the SEARCH?
How do you reference the following file formats from cobol programs?
How to print 10 to 1 if the input have only 10 digit number?
What the difference is between continue and next sentence?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
HOw can I get the negative sign while deduct high value from low value
How to use the same COBOL program in Batch and CICS on lines? explain with an example
What is the difference between Call and a Link?
What is the problem of ordered sequential files access?
What is cobol?
What are the different rules of SORT operation?
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
In which area will you utilize 88 level items in cobol?
How arrays can be defined in COBOL?