BY AuthorData Structure and Algorithm MCQs Test part 5BY adminOctober 12 , 20200 Comments41 viewsFacebookTwitterGoogle plusTumblrPinterestEmailShareWelcome to your Data Structure and Algorithm MCQs Test part 51. When does top value of the stack changesA) Before deletionB) While checking underflowC) At the time of deletionD) After deletion2. Which of the following statement is false?A. Arrays are dense lists and static data structure.B. Data elements in linked list need not be stored in adjacent space in memoryC. Pointers store the next data element of a list.D. Linked lists are collection of the nodes that contain information part and next pointer.3. Which of the following data structure is not linear data structure?A) ArraysB) Linked listsC) Both of the aboveD) None of the above4. The disadvantage in using a circular linked list is …………………….A) It is possible to get into infinite loop.B) Last node points to first node.C) Time consumingD) Requires more memory space5. A linear list in which each node has pointers to point to the predecessor and successors nodes is called as ...A) Singly Linked ListB) Circular Linked ListC) Doubly Linked ListD) Linear Linked List6. A ……………….. is a linear list in which insertions and deletions are made to from either end of the structure.A) circular queueB) random of queueC) priorityD) dequeue7. In a priority queue, insertion and deletion takes place at ………………A) front, rear endB) only at rear endC) only at front endD) any position8. The time complexity of quick sort is …………..A) O(n)B) O(n2)C) O(n log n)D) O(log n)9. Which of the following is an application of stack?A) finding factorialB) tower of HanoiC) infix to postfix conversionD) all of the above10. The data structure which is one ended is ………………A) queueB) stackC) treeD) graph11. A list which displays the relationship of adjacency between elements is said to beA) linearB) non linearC) linked listD) trees4 out of 3Please fill in the comment box below.Time is Up!
Leave a reply
You must login or register to add a new comment .