Class 12 Computer Science Chapter 1 Data Structures Using Python Quiz 9 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. In a 2D array with dimensions m x n, how are elements stored in memory?
2. What data structure is used for breadth first traversal of a graph?
3. Full form of LIFO is .....
4. ..... operation returns the value of the topmost element of the stack.
5. If a node having two children is to be deleted from binary search tree, it is replaced by its
6. What is a hash table and how does it work?
7. List and explain the common sorting algorithms in Python.
8. (A):Queue is an ordered collection of items (B):Queue is an example for non-linear data structure
9. What is a dequeue?
10. Process of removing an element from stack is called .....
11. What are the main types of data structures in Python?
12. In linked list implementation of a queue, front and rear pointers are tracked. Which of these pointers will change during an insertion into a NONEMPTY queue?
13. When analyzing the function call syntax 'fun()', what distinguishes this from a variable reference?
14. Which data structure in Python is best suited for implementing a stack?
15. Which of the following types of queues is used to handle multiple tasks in a real-time system where tasks are prioritized?
16. Why would a programmer choose to break down a complex program into multiple functions rather than writing everything in one large block of code?
17. Which statement is true about Python dictionaries?Criterion 1:Evaluate and select information sources based on their appropriateness to specific tasks
18. Which of the following is non-linear data structure?
19. What is the main difference between a set and a list?
20. In binary tree nodes with no successor are called terminal nodes
21. Define linear data structures and give an example in Python.
22. A queue is a ..... data structure in which each element that was inserted first is the first one to be taken out.
23. What are the disadvantages of arrays?
24. A tree is composed of ..... connected by edges or lines.
25. What is the maximum number of children that a node can have in a binary tree?