Data structure MCQ Quiz Hub

Linear Data Structures - List

Choose a topic to test your knowledge and improve your Data structure skills

1. How do you instantiate an array in Java?




2. Which of the following is a correct way to declare a multidimensional array in Java?




3. Which of the following is two way lists?




4. In a linked list the _________field contains the address of next element in the list.




5. A list that has no nodes is called________.




6. The special list which consists of unused memory space is called __________.




7. The efficient searching algorithm for algorithm for a sorted array is _________.




8. To insert a new node in linked list free node will be available in ___________.




9. A ______________ list is a header list where the node points back to the header node.




10. How many pointers are necessarily changed for the insertion in a Linked List?




11. An algorithm that calls itself directly or indirectly is known as ____________.




12. The sequence (1,1) (2,1) (3,1) (1,2) (2,2) (3,2) . . . .represents _________.




13. ______ is not a technique of tree traversal.




14. Selection sort and quick sort both fall into the same category of sorting algorithms._________ is thatcategory.




15. The possibility of two different keys k1 & k2 yielding the same hash address is called_______




16. Uniform distribution of the hash address throughout the given set L is _________




17. An edge E is called _________ if it has identical endpoints.




18. _________involves maintaining two tables in memory.




19. The data items in a record form a ________ structure which can be described by means of level numbers.




20. A path P of length n from a node u to a node v is defined as a sequence of _________ nodes.




21. A vertex of degree one is called __________




22. A connected graph T without any cycles is called _____________.




23. . If every node u in G is adjacent to every other node v in G, A graph is said to be _______.




24. In a graph G if e=(u,v), then u and v are called ___________.




25. Which of the following is true while inserting a new node in the list?




26. The efficiency of a BFS algorithm is dependent on _______.




27. The average number of key comparisons done in a successful sequential search in a list of length n is_________




28. Divide and conquer is an important algorithm design paradigm based on _______.




29. The correctness of a divide and conquer algorithm is usually proved by _________.




30. The ____________ is used in an elegant sorting algorithm.




31. ___ is finding a path/tour through the graph such that every vertex is visited exactly once.




32. _________ data structure is used to implement Depth First search.




33. The binary tree that has n leaf nodes. The number of nodes of degree 2 in this tree is




34. Each entry in a linked list is a called a_______________.




35. Quick sort uses ____ for implementation.