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

binary search is performed by calculating mid point whereas sequential search is performed by sorting all elements.prior is the faster.

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the pertinent COBOL

2509


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1602


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1230


input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?

2255


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5316


What is the difference between PIC 9.99 and PIC9v99?

1280


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17796


What is inspect in cobol ?

1241


How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?

2394


In which area will you utilize 88 level items in cobol?

1098


) How do u handle errors in BMS macro

1957


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

1114


how to refer the data field?

2209


Explain how to differentiate call by context by comparing it to other calls?

1128


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1092