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

(n+1)/2
saurav is right.

Is This Answer Correct ?    28 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add or delete an element after assigning an array?

1051


What are two types of sorting?

1002


Briefly explain recursive algorithm 50 how do you search for a target key in a linked list?

938


Which list does not allow duplicates?

875


Are lists mutable?

940


How does variable declaration affect memory allocation?

1756


What is an example of an array?

1044


How to reference all the elements in a one-dimension array?

1274


Define binary tree insertion.

952


What is the difference between collections class vs collections interface?

955


Does arraylist maintain insertion order?

825


Is quicksort faster than merge sort?

884


State the different ways of representing expressions?

1208


Does mentioning the array name gives the base address in all the contexts?

1378


How do you create a tree diagram?

996