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
Solution
Which of the following statement(s) is/are correct about the traversals in a binary search tree?
1. The inorder traversal sorts the elements in descending order.
2. The root of the tree is always the first element of the postorder traversal.
1. The inorder traversal sorts the elements in descending order.
2. The root of the tree is always the first element of the postorder traversal.
Solution
Solution
Solution
Solution
Solution
Which of the following is true about a minimum cut in a network?
1. It is the cut that separates the source and the sink with the minimum number of edges.
2. It is the cut that separates the source and the sink with the minimum sum of capacities of the edges.
1. It is the cut that separates the source and the sink with the minimum number of edges.
2. It is the cut that separates the source and the sink with the minimum sum of capacities of the edges.
Solution
Consider the following statements.
1. If an NP-hard problemAis polynomial time reducible to another problemB, thenBbelongs to the NP class.
2. There exists polynomial time checking algorithm for all problems in the class P.
Which of the following option is correct?
1. If an NP-hard problemAis polynomial time reducible to another problemB, thenBbelongs to the NP class.
2. There exists polynomial time checking algorithm for all problems in the class P.
Which of the following option is correct?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors