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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is the purpose of the len() function in Python?
2. In single linked list, the pointer of last node contains
3. When a pop() operation is called on an empty queue, what is the condition called?
4. In ..... data structures all elements may or may not be of same type.
5. What is the primary advantage of using a linked list over an array?
6. How can you use string comprehension in Python?
7. Which data structure in Python is best suited for implementing a queue?
8. What is a full binary tree?
9. Which of the following abstract data types can be used to represent a many to-many relation?
10. What is the function peak means?
11. In Python, which data structure can be implemented using a list with append and pop operations?
12. In Python, which data structure is used to store an ordered collection of individual items?
13. Data structure provide a means to manage huge amount of data .....
14. If I add 2 elements that are the same to a python set what will happen?
15. In Binary trees nodes with no successor are called .....
16. Efficiency of an algorithm is measured by
17. Which of the following is non-liner data structure?
18. A field or collection of fields in a record which identifies a record uniquely is called a .....
19. In one dimensional array if LB = 0 and UB = 10 then the array size is .....
20. In a stack, if a user tries to remove an element from empty stack it is called .....
21. 4 trees are B-trees of order 4. They are an isometric of ..... trees.
22. What is the purpose of keys in a dictionary?
23. Types of data structures are .....
24. Which one of the following is an application of Stack Data Structure?
25. Explain the use of the 'finally' block in exception handling.