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 / vidhun s

yes.we need 100 comparisons.

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we add or delete an element after assigning an array?

666


Define a relation?

549


Is heap sort adaptive?

469


Tell me the difference between structure and array?

468


What is a priority queue?

571






What are control structures?

533


Why is it called bubble sort?

494


What is difference between array and arraylist?

514


Can arraylist be empty?

462


Name few collections map implementations?

522


What is circular queue example?

472


What is binary search in programming?

496


Two linked lists are given, find out the sum of them without altering the linked list?

560


Why is hashing used?

458


What is an example of an algorithm?

483