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 / guest

Binary search is search all. sequential search is the
linear serach.

Example for Search all: File contains 100 records. supose
if u r searching for 75 th record, first entire file
divided into two parts, it will check , whether record is
in first half or second.. like that file ds divded into
diffrent parts

sequential serach: if the file contains 100 records, spose
if u r looking for 75th record, it will start serach from
first record...

Is This Answer Correct ?    98 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

2485


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3206


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

1316


What is a scope terminator give example?

1049


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

2077


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1954


) what is the difference between AID and HANDLE AID?

2099


Whats the difference between search & search ALL?

6364


Write down the divisions of cobol program?

1150


How do you get the data to code the BMS macro?

1920


Can a Search can be done on a table with or without Index?

1235


) How do u handle errors in BMS macro?

1908


i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this

1466


What is the difference between Global and External Variables?

1294


What are the different open modes available in cobol?

1143