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

see
http://www.cs.odu.edu/~cmo/classes/msim602/studyGuide/ch10.doc.

for details..

the fact that the array is already sorted does not affect
the number of comparisons ..

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is bubble sort technique?

871


What is internal and external sorting?

929


How many null values are allowed in hashmap?

924


Does hashmap preserve insertion order?

877


What is the complexity of arraylist?

936


What does stack top do?

892


Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.

1096


Define a path in a tree?

947


What is the height of binary tree?

983


How null key is handled in hashmap?

889


how to add an item to the beginning of the list?

970


Why do we use hashmap?

1039


What do you mean by recursive definition?

923


How do you use the sort function?

840


Can value be null in treemap?

892