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 the difference between a binary search and a
sequential search?

Answer Posted / shailendra

binary search :
only = is valid, only one comparision os possible, search
all will be in syntex,input file will be sorted order with
the key on which basis we search.

seqential search :
many comparision is possible at the same time,
all the comparision > < = greater equal and other
comparision is possible
srted order is not req.
in syntex only search will mention

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why did you choose to work with ibm mainframe cobol programming?

1084


i need a small 3d program using inline and outline.

2194


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2451


What is a report item?

1130


how to access the file from prodution from changeman tool and to submit a file to production

7515


Give some examples of command terminators?

1238


Which Search verb is equivalent to PERFORM…VARYING?

1023


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1336


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

1131


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2259


Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?

1138


How do you reference the fixed block file formats from cobol programs

1207


Define cobol?

1373


What are the access modes of START statement?

1254


How you can read the file from bottom?

1133