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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Which of the following options is not true about the Binary Search tree?
2. What is the output of the expression len(\{1, 2, 3\})?
3. Stack Operations always performs
4. ..... operation adds an element to the top of the stack.
5. What is a python set?
6. Each key can map to several values.
7. Discuss the concept of nested lists in Python with an example.
8. Which one of the following is the overflow condition if a circular queue is implemented using array having size MAX?
9. Which of the following is NOT a valid use case for a priority queue?
10. What kind of data structure is user ..... data in the following declaration? user ..... data = ["TJ", 24, "artLover123"]
11. How do you iterate over the keys of a dictionary using a for loop?
12. In the following scenarios, when will you use selection sort?
13. What is the value of the postfix expression 6 3 2 4 +-*:
14. What is the data structure used to perform recursion?
15. A graph is a tree if and only if graph is
16. Which of the following statements about arrays is true?
17. In dynamic programming, the technique of storing the previously calculated values is called .....
18. What is the base case in a recursive function?
19. ..... the condition indicate the queue is empty.
20. This stores its elements in a hash table without a guaranteed order upon iteration.
21. ..... is an example of non linear data structure
22. Set A = \{ 1, 3, 5, 7 \}Set B = \{ 2, 3, 4, 5 \}The difference of sets A and B (A-B) is ..... ?
23. What is the purpose of the 'in' keyword in Python?
24. What is the purpose of the reduce function?
25. In java, array elements are stored in ..... memory locations