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

Binary search
1)It is for search all.
2)access is faster.
3)sort order is either ascending or descending.
Sequential search
1)It is for linear search
2)access is slow
3)only ascending order

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

2281


Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?

1117


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

1188


For rewrite, why is it mandatory that file needs to be opened?

1112


Explain about different table spaces.

1111


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

1154


what is the use of outrecord?

2223


I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.

2437


how do you reference the printer file formats from cobol programs

1223


What are the pertinent COBOL

2571


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

1263


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

1115


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1173


What is the difference between comp and comp-3?

1189


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

1247