Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is binary search?

Answer Posted / sachin

Prefer when the table size is significantly large.

When the size of the table is large and it is arranged in
some sequence -either ascending or descending on search
field, then BINARY SEARCH would be the efficient method.

Table should be in sorted order of the searching argument.
There should be ASCENDING/DESCENDING Clause.
Index need not be set to 1 before SEARCH ALL.

Compare the item to be searched with the item at the
center. If it matches fine, else repeat the process with
the left or right half depending on where the item lies.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different open modes available in cobol?

1237


What are the different types of condition in cobol and write their forms.

1145


how do you reference the printer file formats from cobol programs

1274


What are 77 levels used for?

1142


Are you comfortable in cobol or jcl?

1088


What are the access modes of START statement?

1321


) what is the difference between AID and HANDLE AID?

2193


what is amode(24), amode(31), rmode(24) and rmode(any)?

1191


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

1176


What are all the divisions of a COBOL program?

1265


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1379


What is comp-1 and comp-2?

1276


how do you reference the rrds file formats from cobol programs

1651


What is an in line perform? When would you use it? Anything else you wish to say about it.

1137


Why would you use find and get rather than to obtain?

1254