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

Quiz Instructions

Select an option to see the correct answer instantly.

1. How to define a Function in Python?
2. Which of the following applications may use a stack?
3. What will be the result of the below given expression in prefix form-+ 2 3 8
4. In the ..... traversal we process all of a vertex's descendants before we move to an adjacent vertex.
5. What is the purpose of a data structure in programming?
6. What is the primary data structure in Pandas used for representing tabular data?
7. Which of the following is the postfix of the expression A+B/C*(D-A)
8. When implementing 'Greeting People' functionality, what makes a function more versatile than hardcoded text?
9. What is the optimal time complexity to count the number of nodes in a linked list?
10. Can I add onto a dictionary after created
11. To evaluate an expression without any embedded function calls:
12. What is the best case height of a B-tree of order n and which has k keys?
13. Which of the following properties is associated with a queue?
14. Which operation is problematic in an array?
15. How can you access 'Austria' from an array of countries?
16. While implementing Queue using list when we want to delete element we must use pop function as .....
17. Which is the type of an array?
18. The leaves of an expression tree always contain?
19. Given the following preorder and inorder traversals of a binary tree:Preorder:M, N, O, P, Q, R, S, TInorder:O, P, Q, R, N, T, M, SReconstruct the binary tree and determine the number of values after the root node.
20. Which Time and Space Complexity uses the O(n$^{2}$) notation?
21. Data Structure is a particular way of storing and organizing data in a computer so that it can be used efficiently.
22. What is the maximum number of keys that a B+-tree of order 3 and of height 3 have?
23. Count = 0 while count < 3:print("Hello!") count += 1
24. What is a queue and how does it differ from a stack?
25. A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?