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

Why do we use collections?

838


What are the parts of a linked list?

996


Which is faster treemap or hashmap?

829


Is it possible to insert different type of elements in a stack? How?

858


Write a recursive c function to calculate the height of a binary tree.

854


What is the complexity of sorting algorithm?

841


What is a multiset table?

812


What is a static structure?

867


How is a queue works?

900


Is json a data structure?

887


Write an algorithm that counts number of nodes in the circular linked list

853


What is a concurrenthashmap?

971


Which interfaces are implemented by abstractsequentiallist?

834


Program to remove duplicate elements in an array.

961


What are the advantages of merge sort?

787