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

Quiz Instructions

Select an option to see the correct answer instantly.

1. If two trees have same structure and but different node content, then they are called
2. Ordered collection of data items of the same type referred to collectively by a single name
3. Which one of the following is not the type of the Queue?
4. In a B+ tree, both the internal nodes and the leaves have keys.
5. What is the position of the name 'Paula' in the following list:names = ["Paul", "Pranav", "Paula", "Prea"]
6. What is a data structure used to store multiple items in Python?
7. Surbhi wants to implement a particular data structure using a static array. She uses the concept of circular list to implement the data structure, because this allows her to efficiently use all fields of the array. Which data structure is Surbhi implementing?
8. In this type of data structures, data values of different types are grouped, as in structures and classes. Refer to .....
9. Which of the following is a linear data structure?
10. Consider a singly linked list of the form where F is a pointer to the first element in the linked list and L is the pointer to the last element in the list. The time of which of the following operations depends on the length of the list?
11. What is Big O notation and why is it important?
12. Who was the developer of c language?
13. What punctuation is used to signal the beginning and end of code blocks?
14. The data structure which expands and shrinks as per demand is called:
15. While implementing Stack using list when we want to delete element we must use pop function as .....
16. If for an algorithm time complexity is given by O(1) then complexityof it is:
17. D.S . stands for
18. The depth of a complete binary tree is given by
19. Which of the following data structure works on the principle of First Come First Serve?
20. Assertion (A):Application of stack is to reverse a word.Reason (R):The ordering principle is LIFO.
21. The indirection operator is represented by
22. What is the purpose of the 'self' parameter in Python class methods?
23. In linked list each node contain minimum of two fields. One field is data field to store the data second field is?
24. What happens if you attempt to pop from an empty stack?
25. When malloc() returns NULL value, it means