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

(n+1)/2
saurav is right.

Is This Answer Correct ?    28 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an arraylist be null?

960


What is the logic to reverse the array?

948


What is sorted map?

931


How much time does it take to learn data structures?

966


Are dictionaries mutable?

903


Which sort is stable?

991


What is sorting and classifying?

959


What is the difference between collections class vs collections interface?

1022


What is a 2 dimensional array?

1043


What is quick sort example?

912


Write the recursive c function to count the number of nodes present in a binary tree.

914


What are the disadvantages of linked list?

940


Is any implicit arguments are passed to a function when it is called?

1056


Define separate chaining?

1021


What is a priority queue?

1012