Data structure MCQ Quiz Hub

Linear Data Structures - List

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

How do you instantiate an array in Java?





✅ Correct Answer: 3

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





✅ Correct Answer: 3

Which of the following is two way lists?





✅ Correct Answer: 4

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





✅ Correct Answer: 1

A list that has no nodes is called________.





✅ Correct Answer: 3

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

______ is not a technique of tree traversal.





✅ Correct Answer: 3

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





✅ Correct Answer: 3

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

_________involves maintaining two tables in memory.





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

A vertex of degree one is called __________





✅ Correct Answer: 1

A connected graph T without any cycles is called _____________.





✅ Correct Answer: 4

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





✅ Correct Answer: 2

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





✅ Correct Answer: 4

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





✅ Correct Answer: 2

The efficiency of a BFS algorithm is dependent on _______.





✅ Correct Answer: 4

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

The ____________ is used in an elegant sorting algorithm.





✅ Correct Answer: 1

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





✅ Correct Answer: 4

_________ data structure is used to implement Depth First search.





✅ Correct Answer: 4

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





✅ Correct Answer: 2

Each entry in a linked list is a called a_______________.





✅ Correct Answer: 2

Quick sort uses ____ for implementation.





✅ Correct Answer: 1