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

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is a List?
2. The examples of Linear Data Structures are
3. Which type of array is the following example?score = [5, 7, 0, 10, 8, 3, 7, 3]
4. In which situation would you use a stack for evaluating an expression?
5. What is meant by 'declaring' an array?
6. What kind of linked list is best to answer question like "What is the item at position n?"
7. In algorithm variable names should be in capital letters.
8. Describe the characteristics of a stack data structure.
9. How do you convert a list to a set?
10. What operation would you use to add an element to a queue in Python?
11. Which of the following is false about a binary search tree?
12. Which data structure in Python is used to store key-value pairs?
13. How do you remove a key-value pair from a dictionary?
14. Consider an array of integers:[10, 25, 30, 45, 50, 65, 70, 85]. If you are searching for element 10, which searching technique would be most efficient
15. A node contains
16. In stack we can not insert an element in between the elements that are already inserted.
17. What data structure in Python follows the Last In First Out (LIFO) principle?
18. Discuss the concept of list comprehension in Python with an example.
19. The operations performed by Stack are .....
20. The ..... function is used to delete all the elements in a dictionary.
21. How do you create a tuple in Python?
22. It use pointer to link nodes.
23. What is pointer in C language?
24. What type of queue allows insertion and deletion of elements at both ends?
25. How do you create a two-dimensional list in Python?