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
You are given a computer network represented as an adjacency list. Each node in the network represents a computer, and an edge between two nodes indicates a network connection. A virus has infected one of the computers. The virus spreads from an infected computer to each of its neighbors in one time step. Your task is to find the minimum number of time steps required for the virus to infect all computers in the network.
Which of the following algorithm is best suited and efficient for solving this problem?
Which of the following algorithm is best suited and efficient for solving this problem?
Solution
Solution
Solution
Consider the elements71, 45, 56, 98, 33, 48 and 96inserted into empty binary search tree in the same sequence. Which element will be inserted in the lowest level?
Solution
Solution
Solution
Solution
Solution
Solution
Solution
Consider a complete binary treeTwith17nodes. The number of leaf nodes inTis ____.
Solution
Solution
Solution
Solution
Solution
Let G be a simple graph with 20 vertices. The size of the minimum vertex cover of G is 8. What is the size of the maximum independent set of graph G?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
The value of the maximum flow in the given network is__
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Shape
Thickness [ / ]
3
All colors