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

100 comparisons

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is waste sorting important?

567


How can you insert a node in a random location of the linked list?

509


What is the purpose of sorting algorithms?

510


Define 2-3-4 tree?

499


What is a concurrenthashmap?

559






Define distributed query and linked server?

561


What is data structure explain in detail?

515


Which of the collections allows null as the key?

508


What is frozenset?

487


Traverse the given tree using Inorder, Preorder and Postorder traversals. Inorder : D H B E A F C I G J Preorder: A B D H E C F G I J Postorder: H D E B F I J G C A

653


What is a simple graph?

531


Is vector a collection?

465


Why is selection sort used?

497


Differentiate between failfast and failsafe.

688


What is the complexity of adding an element to the heap?

489