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

Quiz Instructions

Select an option to see the correct answer instantly.

1. Collection of dissimilar type of data item is called
2. Input/output function prototypes and macros are defined in which header file?
3. Which of the following is not a correct variable type?
4. How would you access an item in a three-dimensional array?
5. It is a method of solving problems that involves breaking a problem down into smaller and smaller sub problems until you get to a small enough problem that it can be solved trivially.
6. What is the only function all C programs must contain?
7. How do you handle exceptions in Python using try and except blocks?
8. The complexity of Binary search algorithm is
9. Stack is also called as
10. A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as .....
11. Which of these in NOT a linear data structure?
12. What is the method to get all keys from a dictionary?
13. What method in Python is used to add an element to a set?
14. How do you iterate over the items in a tuple?
15. Number of possible ordered trees with 3 nodes A, B, C is
16. ..... technique is used by solving optimization problems
17. Root
18. Which iteration method is commonly used with arrays?
19. How can you handle multiple exceptions in a single try block?
20. ..... data structures are those whose sizes and structures associated memory locations are fixed at compile time.
21. Is the syntax for the following C statement correct?:scanf("%d", input);
22. What are the different methods available for adding elements to a list in Python?
23. Which syntax correctly creates a list?
24. Consider the following two sequences:The length of longest common subsequence of X and Y is:Consider the following two sequences:X = < B, C, D, C, A, B, C >, and Y = < C, A, D, B, C, B >The length of longest common subsequence of X and Y is:
25. In linked list each node is divided into ..... parts?