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

Is linked list faster than array?

898


Is bubble sort adaptive?

922


Is hashmap synchronized?

1059


Does set allow null values?

893


Is bucket sort a comparison sort?

885


Where is insertion sort used?

955


Write the stack overflow condition.

1084


What is a treemap used for?

937


which is the simplest file structure? (Sequential, indexed, random)

1313


How to do the intersection of two sorted arrays?

1076


Describe tree database. Explain its common uses.

1027


What are all the classes and interfaces that are available in the collections?

915


What happens if we put duplicate key in hashmap?

910


What is ds tree?

955


Is python good for freshers?

1022