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

Which sorting algorithm is the slowest?

899


Why do we study data structures?

970


Run time memory allocation is known as ?

1045


What do you mean by union-by-weight?

1054


What does map stand for?

1089


Can sets contain duplicates?

881


What are threaded binary trees?

1005


How to copy an array into another array?

1016


What are the different types of linked list?

895


How efficient is binary search?

918


Run time memory allocation is known as in data structure?

987


an array t[100] which contains numbers between 1..99. Return the duplicated value. Try both O(n) and O(n-square).

961


State the difference between stacks and linked lists?

1036


How do you find the height of a binary tree?

941


Are duplicates allowed in hashmap?

937