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 average number of comparisons needed in a
sequential search to determine the position of an element in
an array of 100 elements, if the elements are ordered from
largest to smallest?

Answer Posted / tej pratap

it should be (100+1)/2.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain merge sort algorithms.

956


What is data structure and why we need it?

869


Name few collections map implementations?

855


Explain Stack

959


If you are using c language to implement the heterogeneous linked list, what pointer type should be used?

1026


Explain the common uses of tree database.

885


Explain the Queue

966


How does linkedhashset work internally?

901


What is m way tree in data structure?

1026


Tell us the difference between merge and quick sort. Which one would you prefer and why?

975


What are the types of algorithms?

931


What is array and its types in data structure?

902


What are basic algorithms?

869


How do you reference all the elements in a one-dimension array?

1001


What is data structure and its operations?

807