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

100 comparisions

since element is not there and the data is unordered we need
to compare with each and every element

Is This Answer Correct ?    50 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an algorithm to check if there is a loop in a doubly linked list.

935


What are the advantages of binary search over linear search?

1031


What is the use of bubble sort?

866


Why is it important to sort waste?

957


If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?

982


What is the use of sorting the data?

909


How are elements stored in hashset?

945


Define an algorithm.

962


What is the non linear data structure?

913


Why sorting is done?

853


What is a hash index?

871


Can we give size to arraylist?

949


What is impact of signed numbers on the memory?

893


What is ds tree?

895


What are red-black trees?

994