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

) How do u handle errors in BMS macro?

1908


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

1183


Write a program that uses move corresponding.

1073


What are the cobol coding sheets?

1174


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2060


Name the sections present in data division.

1175


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

2415


i want a program using by if, evaluate , string, unstring, perform, occurs?

4636


example for sub strings ? and refernce modifications whit output pls

2266


Write a program to enter and display the names of students in a class using the occurs clause.

1154


How to know whether the module is dynamical or statistical?

1081


how we sort two input files based on a common column and giving one o/p file please send me the coding logic?

2077


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

1186


What is inspect in cobol ?

1241


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7733