1
GATE CSE 2010
MCQ (Single Correct Answer)
+2
-0.6
Consider a complete undirected graph with vertex set {0, 1, 2, 3, 4}. Entry W(ij) in the matrix W below is the weight of the edge {i, j}.
$$$w = \left( {\matrix{
0 & 1 & 8 & 1 & 4 \cr
1 & 0 & {12} & 4 & 9 \cr
8 & {12} & 0 & 7 & 3 \cr
1 & 4 & 7 & 0 & 2 \cr
4 & 9 & 3 & 2 & 0 \cr
} } \right)$$$
What is the minimum possible weight of a spanning tree T in this graph such that vertex 0 is a leaf node in the tree T?
2
GATE CSE 2009
MCQ (Single Correct Answer)
+2
-0.6
Consider the following graph:
Which one of the following is NOT the sequence of edges added to the minimum spanning tree using Kruskal’s algorithm?
Which one of the following is NOT the sequence of edges added to the minimum spanning tree using Kruskal’s algorithm?3
GATE CSE 2008
MCQ (Single Correct Answer)
+2
-0.6
Dijkstra's single source shortest path algorithm when run from vertex a in the above graph, computes the correct shortest path distance to4
GATE CSE 2007
MCQ (Single Correct Answer)
+2
-0.6
Suppose the letters a, b, c, d, e, f have probabilities 1/2, 1/4, 1/8, 1/16, 1/32, 1/32 respectively. Which of the following is the Huffman code for the letter a, b, c, d, e, f?
GATE CSE Subjects
Browse all chapters by subject
Theory of Computation
Operating Systems
Algorithms
Database Management System
Data Structures
Computer Networks
Software Engineering
Compiler Design
Web Technologies
General Aptitude
Discrete Mathematics
Programming Languages