Question: hello please i don't have enough time those questions are the single choice i need only answers please fill th table with the correct answer

hello please i don't have enough time those questions are the single choice i need only answers

hello please i don't have enough time those questions are the single

choice i need only answers please fill th table with the correct

answer 1. When is the linked list structure suitable for representing a

please fill th table with the correct answer

linear list L? A frequently change the key values of the nodes

1. When is the linked list structure suitable for representing a linear list L? A frequently change the key values of the nodes in L B frequently insert into and delete from L L contains large amount ofnodes D the structure of the nodes in L is complicated 2. Since the speed of a printer cannot match the speed of a computer, a buffer is designed to temperarily store the data from a computer so that later the printer can retrieve data in order. Then the proper structure of the buffer shall be a ? ( ). A. Queue B. Tree C. Stack D. Graph 3. For a sequentially stored linear list of length N, the time complexities for query and deletion are () A.O(1), O(1) B. O(N), O(1) C. 0,1), ON) D. ON), ON) 4. Which boolean expression indicates the list with head point is empty. A. head == NULL B. head->next == NULL C.head->data == NULL D. head->data == 0 5. The height difference between left subtree and right subtree in a AVL tree can NOT be?( ). A. 1 B. 0 C. -1 D. 2 6 Let I be a tree of N nodes created by union-by-size without path compression, then the minimum depth of T may be? ( ). A.1 B. log(N) C. N-1 D. N/2 7. A tree is the most suitable structure to represent: () A. sorted elements B. elements with no direct relation C. unsoited elements D. elements with hierarchical branching relations 8. The minimum spanning tree of any connected weighted graph: () A. is unique B. is not unique c. may not be unique D. may not exist 9. To search a key in a complete binary search tree with N nodes, the average number of comparisons is: ( )? A. O(N) B. OlogN) C. O(NlogN) D.ON^2) Part A Single choice + 1 2 3 4 5 6 7 8 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!