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
Consider a directed graphGwith equal edge weights. Which of the following algorithms ismost efficientto compute the shortest distance between every pair of nodes inG?
Solution
Solution
Solution
Which one of the following is a possible sequence of elements in root-to-leaf paths in a top-down fashion in a binary search tree?
Solution
While inserting the elements 45, 75, 15, 55, 5, 40, 62, 25, and 85 in an empty binary search tree in the sequence shown, the elements at maximum depth from root are__________________.
Solution
Solution
Solution
Solution
LetGbe a complete undirected graph with 5 vertices and 10 edges with weights of 1, 2, 3, 4, 5, 6, 7, 8, 9 and 10. The maximum possible weight that a minimum weight spanning tree ofGcan have is __________________.
Solution
Solution
Solution
Which of the following statements is/aretrueforHeap sort?
Solution
For a set of symbols with probabilities of occurrence, which of the following statement(s) is/are trueabout theHuffman algorithm?
Solution
Solution
Shape
Thickness [ / ]
3
All colors