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 / mounesh badiger

we have to check all the elements of the array.so average is
n(size of array)

Is This Answer Correct ?    14 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a bubble sort and how do you perform it?

1014


What is meant by int?

995


What is data and data structure?

951


How would you use bsearch() function to search a name stored in array of pointers to string?

856


Does concat mutate array?

924


Explain Array of pointers?

980


What is binary tree example?

952


Is Arraylist faster than Array? Why?

1024


What is difference between while and do while?

883


What is the difference between array and stack in data structures?

1046


How arraylist increase its size?

916


How is bubble sort done?

848


If you do not initialize an array what will happen?

1021


What is a multidimensional array?

940


What is difference between hashset and linkedhashset?

1106