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 the difference between arraylist and array?

986


Are duplicates allowed in list?

870


Which is faster quick sort or merge sort?

774


Write a Program for Linked list manipulation.

976


How does hashset maintain order?

892


Are data structures important?

881


Define a path in a tree?

905


Explain the common uses of tree database.

866


What are the different types of data structures?

937


How do you find the second largest element in an array of integers?

985


What's difference between stack and queue?

907


What are the disadvantages of linear list?

862


What is array and its types in data structure?

887


How to get top two numbers from an array?

1022


Is heap sort adaptive?

791