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
Consider the following DAG

Which of the following is/arenot a validtopological orderings for the given DAG?
Which of the following is/arenot a validtopological orderings for the given DAG?
Solution
Solution
Solution
Solution
3-way-Merge Sort:Suppose that instead of dividing the input list L in half at each step of Merge Sort, you divide L into three equal parts, sort each parts, and finally combine all of them using an efficient three-way merge (merge three sorted lists instead of two).
What is the overall asymptotic running time of the3-way-Merge Sortalgorithm?
What is the overall asymptotic running time of the3-way-Merge Sortalgorithm?
Solution
Which of the following statements isnot trueabout Quicksort?
Solution
Solution
Solution
Consider the following statements:
1. While creating a DFS tree for a directed graph, among non-tree edges, only back edges correspond to cycles.
2. The depth of any DFS tree rooted at a vertex is at least as much as the depth of any BFS tree rooted at the same vertex.
Choose the correct option.
1. While creating a DFS tree for a directed graph, among non-tree edges, only back edges correspond to cycles.
2. The depth of any DFS tree rooted at a vertex is at least as much as the depth of any BFS tree rooted at the same vertex.
Choose the correct option.
Solution
Solution
A connected, simple, undirected graphGhas 1225 edges. The minimum number of vertices in G is ________.
Solution
Shape
Thickness [ / ]
3
All colors