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 the given statements below aboutPrim's algorithm'sbehaviour and properties.
i. The choice of the starting vertex can lead to different Minimum Spanning Trees if multiple MSTs exist with the same total weight.
ii. Prim's algorithm first sorts all edges in the graph by weight.
iii. The algorithm maintains a set of visited vertices and, at each step, selects the minimum weight edge connecting a visited vertex to an unvisited vertex.
Which of the given statements areTrue?
i. The choice of the starting vertex can lead to different Minimum Spanning Trees if multiple MSTs exist with the same total weight.
ii. Prim's algorithm first sorts all edges in the graph by weight.
iii. The algorithm maintains a set of visited vertices and, at each step, selects the minimum weight edge connecting a visited vertex to an unvisited vertex.
Which of the given statements areTrue?
Solution
Solution
Solution
Consider the following statements and select the correct option.
i. The greedy technique always gives an optimized solution to the problem.
ii. Bellman-Ford and Floyd-Warshal algorithms use the greedy technique to solve the path problems.
i. The greedy technique always gives an optimized solution to the problem.
ii. Bellman-Ford and Floyd-Warshal algorithms use the greedy technique to solve the path problems.
Solution
Solution
Solution
Solution
Solution
Which of the following is/areTrueaboutBellman-Ford algorithm?
Solution
Solution
Which of the following statements aretrueabout thefinding the closest pair of pointsusing divide and conquerstrategy?
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors