Data Structures MCQs (Part-2)

Which data structure is used to implement recursive function calls?

A Array
B Stack
C Linked List
D Queue

Which type of data structure is a linked list?

A Linear
B Graph
C Tree
D Non-linear

What is the main advantage of a doubly linked list over a singly linked list?

A Static size
B Faster search
C Bi-directional traversal
D Better memory usage

Which sorting algorithm has the best average time complexity?

A Quick Sort
B Selection Sort
C Merge Sort
D Bubble Sort

What does BFS stand for in graph algorithms?

A Breadth First Search
B Binary First Search
C Best First Search
D Balanced First Search

What type of tree is balanced and maintains a height difference of at most one between subtrees?

A B-Tree
B AVL Tree
C Binary Tree
D Red-Black Tree

Which operation is used to insert an element in a priority queue?

A Push
B Insert
C Enqueue
D Insert with priority

Which data structure uses hashing to store data?

A Queue
B Linked List
C Hash Table
D Binary Tree

What is the main characteristic of a circular linked list?

A Has no end
B Multiple nodes
C Fixed size
D Doubly linked

Which tree structure is used for fast searching and dynamic data insertion?

A Trie
B Binary Search Tree
C AVL Tree
D Heap

Which of these is the most efficient searching algorithm for an unsorted array?

A Hash Search
B Binary Search
C Linear Search
D Jump Search

Which operation is commonly associated with a stack data structure?

A Pop
B Peek
C Push
D All of the above

What is the worst-case time complexity of Quick Sort?

A O(n²)
B O(n log n)
C O(n)
D O(log n)

What type of data structure is a binary heap?

A List
B Tree
C Queue
D Graph

What is a Trie data structure mainly used for?

A Sorting
B Pathfinding
C Searching
D String matching