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

How do treesets work internally?

882


Write a program to insert an element and in the specific position in the array?

877


Can we define the size of arraylist?

886


What are the Difference between tcp and udp?

937


How will you explain circular linked list?

862


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

876


Does arraylist contain duplicates?

852


Tell me what is quick sort?

863


How will you free the memory that is allocated at run time?

947


Is json a data structure?

902


Is arraylist fail fast?

903


Differentiate between arraylist and linkedlist.

1067


Explain the internal working of a hash map?

928


How to get a list of tables, views and columns in firebird database?

864


What is 2 dimensional linked list?

971