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 / ruchi baghel

it require n comparison where n=position of the element


if element is on 50th position
we just require 50 comparison bcz it is sequential search
one by one

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is complexity of bubble sort?

876


Why do we use stacks?

917


When is a graph said to be weakly connected?

993


What is the advantage of circular linked list?

815


What is a vector class?

860


What is the difference between hashset and hashtable?

927


What is the order of selection sort?

806


Explain what is the bucket size, when the overlapping and collision occur at same time?

1021


Is arraylist heterogeneous?

878


What data type is array?

916


What is numeric array?

841


What is bubble insertion selection sort?

860


Can we null keys in treemap?

997


How many times is merge sort called?

894


Explain Array

961