Total Pageviews

Monday, June 22, 2026

DATA STRUCTURE QUIZ -1

Data Structure Quiz

Data Structure Quiz

1. Which data structure follows FIFO?

Stack
Queue
Tree
Graph

2. Which data structure follows LIFO?

Queue
Linked List
Stack
Tree

3. Which searching algorithm requires sorted data?

Linear Search
DFS
Binary Search
BFS

4. Which data structure is used for recursion?

Queue
Stack
Graph
Array

5. Which traversal order is Root → Left → Right?

Inorder
Postorder
Preorder
Level Order

6. Which data structure consists of nodes connected by links?

Array
Linked List
Stack
Queue

7. Which data structure is used in BFS traversal?

Stack
Queue
Tree
Array

8. Which data structure is used in DFS traversal?

Queue
Linked List
Stack
Graph

9. What is the index of the first element in an array?

0
1
-1
Depends on size

10. Which data structure represents hierarchical data?

Queue
Stack
Tree
Array

No comments:

Post a Comment