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

(n+1)/2
here n= 100
so (100+1)/2
then 50.5 answer

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is circular queue in data structure?

944


Is hashmap a collection?

943


What is a data structure node class?

1061


Define an equivalence relation?

1142


When is a binary search algorithm best applied?

1177


What is a stable sorting algorithm?

1146


What is a bubble sort and how do you perform it?

1074


Explain what is linear search?

1006


What are examples of data structures?

984


Describe the complexity of Binary search

965


Does arraylist extend list?

994


Which is the parent class of deque class?

984


Which sorting algorithm is used in collections sort?

872


Why do we use a multidimensional array in data structure?

1069


What is a Breadth First Search? Give a few of its applications.

934