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

What is definition list?

939


Explain the terms base case, recursive case, binding time, run-time stack and tail recursion.

890


What is binary tree in discrete mathematics?

862


What is the complexity of arraylist?

940


Which data structure is used in arraylist?

1041


What is data type with example?

951


How do you sort pseudocode?

882


How do you sort an arraylist?

886


What is entryset method in map?

902


What are the basic operations of stack?

907


Explain linear linked implementation of Stack and Queue?

1067


What is the use of substring?

955


Explain Queue

1068


What are the main differences between the linked list and linear array?

977


What are stacks? Give some of its applications.

982