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
Which of the following statement(s) is/are true?
Solution
Solution
Which of the following sorting algorithms will have the same time complexity irrespective of the sequence of elements in the input?
Solution
Which of the following statement(s) is/are correct with regard to the given Selection Sort?
1. Selection sort is stable sort.
2. It sorts In-place.
3. In Selection sort, aftermpasses through the list, the firstmelements in the list are them smallest element of the list.
Solution
Solution
Solution
An airline serves 1000 cities and runs 4500 direct flights each day between these cities. Which of
the following is a good data structure to get the list of cities where direct flight available from any particular cities?
the following is a good data structure to get the list of cities where direct flight available from any particular cities?
Solution
Consider the following graph

If Dijkstra algorithm is used withAas the source vertex then what is the order in which all other vertices are visited?
If Dijkstra algorithm is used withAas the source vertex then what is the order in which all other vertices are visited?
Solution
The post-order traversal of a binary search tree with integer values produces the following sequence: 7, 5, 14, 12, 10, 20, 18, 25, 15. What is the value of the left child of the root of the tree?
Solution
If we do not maintain the height of subtrees at each node in an AVL tree, then what will be the upper bound of running time for inserting an element and balancing it if required?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Consider the following DAG

How many possible topological orderings are there for the given DAG ?
How many possible topological orderings are there for the given DAG ?
Solution
Consider the graphGgiven below.

The number of minimum cost spanning tree for the given graph is__.
The number of minimum cost spanning tree for the given graph is__.
Solution
In a binary tree T of 25 nodes, if the number of nodes with two children is 6, then the number of nodes with one child is ___
Solution
Solution
Solution
Solution
Solution
Solution
Let G be a graph. The size of the minimum vertex cover of G is 12 and the size of the maximum independent set of G is 17. What are the number of the vertices in graph G?
Solution
Shape
Thickness [ / ]
3
All colors