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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which is function in C?
2. What method in Python is used to merge two dictionaries?
3. Elements are added in queue at
4. It is a mathematical object which arises in many physical problems, consists of m rows and n columns
5. Given an undirected graph G with V vertices and E edges, the sum of the degrees of all vertices will be?
6. This is a binary tree in which every level of the tree is completely filled except the last level
7. ..... is a prerequisite for the binary search.
8. What is the main characteristic of a queue?
9. What is the purpose of a hash function in data structures?
10. Which of the following points is/are not true about Linked List data structure when it is compared with an array?
11. What is the primary difference between an array and a list in Python?
12. If two trees have same structure and node content, then they arecalled
13. What is the time complexity of the dynamic programming implementation of the longest common subsequence problem where length of one string is "m" and the length of the other string is "n" ?
14. The number of edges from the root to the node is called ..... of the tree.
15. What method in Python is used to remove the last element from a list?
16. Binary TREE
17. A B-tree of order 4 and of height 3 will have a maximum of ..... keys.
18. Arrays have a fixed number of items.True or False
19. (A) Non primitive data structures are more complex data structures.(R) Non primitive data structures are derived from the user defined data structure
20. ..... technique doesn't give guarantee that our solution is optimal
21. Assertion(A):A tree is non-linear data structure. Reason (R):In non-linear data structure data items are connected to many other data items.
22. How do you access the value associated with a specific key in a dictionary?
23. Which of the following are the tree traversal
24. Which of the following data structures is best suited for implementing a stack?
25. What is a nonlinear data structure? Provide an example.