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

binary search is fast because
it check the element mid
is element is less
it set the beg
mid=(beg+end)/2;
if(value>a[mid])
{
beg=mid+1;
}
else
{
end=mid-1;
}

Is This Answer Correct ?    23 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What type of SDLC u followed? Why?

1973


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

2178


What are all the divisions of a COBOL program?

1166


Differentiate between structured cobol programming and object-oriented cobol programming.

1099


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1055


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

1150


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

4655


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

5328


What is inspect in cobol ?

1261


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2549


What is the difference between perform … with test after and perform … with test before?

1385


how to convert the recors form vsam file to db2 table tru file aid

3231


) what is the difference between AID and HANDLE AID?

2110


What are the different open modes available in cobol?

1167


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

1126