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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following is an advantage of using functions in Python?Criterion 1:Evaluate and select information sources based on their appropriateness to specific tasks
2. How do you create a set in Python?
3. What is an array in data structure theory?
4. What are the 3 depth traversals for a tree data structure?
5. Which operator is used for checking if two values are equal in Python?
6. Describe how to traverse a binary tree in order.
7. ..... is a data structure in which every individual node consists of INFO to store data and LINK to store the address of the next node.
8. The algorithms like merge sort, quick sort and binary search are based on
9. Go to statement is the part of .....
10. Given an empty AVL tree, how would you construct AVL tree when a set of numbers are given without performing any rotations?
11. Can I add any data type to a tuple
12. An array elements are always stored in ..... memory locations.
13. Python has true 2-dimensional arrays?True or False?
14. In a max-heap, element with the greatest key is always in the which node?
15. How do you iterate over a dictionary in Python?
16. Under which data structure category does the Stack fall?
17. How do you create a dictionary?
18. What is a list in Python and how is it different from a tuple?
19. Which is an entity?
20. Queue follows ..... order
21. Quick sort follows Divide-and-Conquer strategy.
22. What is the best data structure for implementing a priority queue?
23. Which of the following algorithms is not feasible to implement in a linked list?
24. (A):Items of stack are inserted at top end.(B):Items of queue are inserted from front end.
25. What is the syntax for creating a set in Python?