Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : PROGRAMMING, DATA STRUCTURES AND ALGORITHMS USING PYTHON (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Let G be a simple graph with 16 vertices and 8 connected components. If we delete one vertex from G, then the minimum and maximum number of possible connected components are ___________________.
Solution
Solution
Solution
Solution
Solution
Which of the following combination of input text T and pattern P will exhibit the worst case running time behavior forBoyer-Moore skipping heuristic?
Solution
Which of the following statements is/aretrueabout the sorting algorithms ?
Solution
Which of the following statements is/aretrueabout theQuicksort algorithmto sort elements in ascending order? Assume that the first element in the list selected as pivot for partitioning each time.
Solution
Which of the following are possiblevalidcodes for the character set S = {A, B, C, D, E, F}, generated using theHuffman algorithm?
Solution
Solution
Solution
Solution
Consider the max-heap [30, 25, 20, 5, 15, 8, 10, 3, 2, 12] built by repeatedly inserting values into an empty heap. Which of the following could not have been the last element inserted into this heap?
Solution
Which of the following is/are true aboutAVL Tree? Assume that the height of the empty tree is 0.
Solution
Solution
Solution
Consider a binary tree with 30 nodes, where the number of nodes which have one child is 11. The number of leaf nodes is _________________.
Solution
Solution
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
How much time will the given dynamic programming approach take to compute the answer? Assume you have direct access to theNextlist as well, and you don’t have to worry about computing it on your own.
Solution
Shape
Thickness [ / ]
3
All colors