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

Define a Deque?

998


What is a queue in data structure?

941


What are the tasks performed during inorder traversal?

908


Is vector synchronized?

859


What is rule regarding overriding equals and hascode method?

864


What is a data structure node class?

969


What does map stand for?

891


What is an recursive algorithm?

909


Why do we use dynamic arrays?

810


Explain set interface?

973


What is bubble sort in data structure?

852


What is mean by selection sort?

828


What is difference between concurrenthashmap and hashtable?

856


What type of data structure is used to perform recursion?

866


What are the advantages and disadvantages of copyonwritearraylist?

1072