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 the difference is between continue and next sentence?

1120


What is the difference between Call and a Link?

1137


What is the difference between a binary search and a sequential search what are the pertinent cobol?

1105


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2334


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

1025


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

2181


How are the next sentence and continue different from each other?

1240


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1071


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1197


What is the difference between structured cobol programming and object alternativelyiented cobol?

1207


what happens if parmparameter passes zero bytes to the program

2092


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1340


What rules are followed by the search verb.

1062


Write a program that uses move corresponding.

1089


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1115