what is meant by binary search?

Answer Posted / srikanth doki

Binary search is also known as search all.
For large tables with more than 10 records this search is
used. The records must be either in ascending or descending
order. First it will divide it into two parts and then it
will search for the center one if it not match then it will
search for the left or right half most ones.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the cobol database components?

672


how do you reference the rrds file formats from cobol programs

787


What rules are to be followed while using the corresponding options?

627


how do you reference the ksds vsam file formats from cobol programs

648


how do you reference the variable block file formats from cobol programs

675






What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

668


) How do u handle errors in BMS macro?

1418


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

1918


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)?

619


What rules are followed by the search verb.

629


What are the various section in data division and briefly explain them.

685


How to know whether the module is dynamical or statistical?

648


How do define dynamic array in cobol.

664


how can i see junk values in dclgen or in hostvariable of comp ?

2534


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.

5049