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...

The element being searched for is not found in an array of
100 elements. What is the average number of comparisons
needed in a sequential search to determine that the element
is not there, if the elements are completely unordered?

Answer Posted / pankaj

(sum of all 1 to 100) - (sum of given numbers)= number missing
for this no comparison required

Is This Answer Correct ?    4 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is hashmap used?

1012


What are the basic data structures?

1042


How to search binary in a sorted array?

891


How to create an Array?

1030


What is selection sort with example?

1025


What is the difference between sorting and classifying?

992


What do you mean by Runtime Error

1073


What is the space complexity of bubble sort?

1060


How remove all from arraylist?

994


What is binary tree and its types?

1047


What is the time complexity of hashmap get () and put () method?

942


What exactly is a thread?

971


Is treeset synchronized?

904


Which is the parent class of linkedhashset class?

963


What is unhashable type list?

900