Graded Assignment - (Sep 2025 - Mathematics I - Qualifier)

The due date for submitting this assignment has passed. Due on 2025-12-10, 23:59 IST. You may submit any number of times before the due date. The final submission will be considered for grading.

Last Submitted: You have last submitted on: 2025-12-10, 07:13 IST

Note: Note: This assignment will be evaluated after the deadline passes. You will get your score 48 hrs after the deadline. Until then the score will be shown as Zero.


Question 1

An undirected graph G has 38 vertices and the degree of each vertex is at least 7. What is the minimum number of edges that the graph G can have? Your Answer: 133

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

(Type: Numeric) 133.0


Question 2

If G is a connected undirected graph such that every vertex has degree at most 7 , and the shortest path between any two vertices has length at most 2, then what is the maximum number of vertices in G? (Hint: Try to draw the BFS tree starting with any vertex) Your Answer: 50

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

(Type: Numeric) 50


Question 3

Suppose is the adjacency matrix of a connected undirected graph . If and the shortest path between any two vertices has length at most 2, then which of the following may represent the graph ?

Accepted Answers:


Question 4

Suppose is a graph with 6 vertices {} and the adjacency matrix of the graph is . Which of the following statements is True?

  • The graph is a directed acyclic graph.
  • From vertex 4, every other vertex is reachable.
  • The longest path in the graph has length 4, in terms of number of edges.
  • The longest path in the graph is

Accepted Answers:

  • The graph is a directed acyclic graph.
  • From vertex 4, every other vertex is reachable.
  • The longest path in the graph is

Question 5

Which of the following sequences may represent the possible order in which Shreya can perform the tasks?

Status: Yes, the answer is correct. Score: 1

Accepted Answers:


Question 6

If each task takes 5 minutes to complete and she performs all the independent tasks simultaneously, then the time(in minutes) taken by Shreya to complete all the tasks is Your Answer: 30

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

(Type: Numeric) 30


Question 7

An undirected weighted graph is shown below. Find the set of all positive integer values of such that if we use Dijkstra’s algorithm, there will be a unique shortest path from vertex to vertex that contains the edge .

Accepted Answers:


Question 8

A directed graph is shown below. Suppose we are trying to perform an algorithm to find the shortest path from vertex to . Which of the following statements is (are) correct?

  • Dijkstra’s algorithm can be used to find the shortest path from to .
  • Bellman-Ford algorithm can be used to find the shortest path from to because there are negative weighted edges.
  • The weight of the shortest path from to is .
  • Bellman-Ford algorithm cannot be used to find the shortest path from to because there is a negative cycle in the given graph.

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

  • Bellman-Ford algorithm cannot be used to find the shortest path from to because there is a negative cycle in the given graph.

Question 9

Which of the following statements is (are) INCORRECT?

  • In an undirected graph , if all edges have different positive weights, then the minimum cost spanning tree of graph is unique.
  • If there is a cycle of weight in a directed graph , then we cannot find the shortest path using Bellman-Ford algorithm.
  • Suppose an acyclic undirected graph with vertices has edges. Then the graph is connected.
  • In a graph , every edge with the minimum weight will be in the minimum cost spanning tree.

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

  • If there is a cycle of weight in a directed graph , then we cannot find the shortest path using Bellman-Ford algorithm.
  • In a graph , every edge with the minimum weight will be in the minimum cost spanning tree.

Question 10

An employee of that company wanted to travel from the city to the city . If he travelled by the cheapest route possible, then the total fare (in thousands of rupees) he paid for flight journey was Your Answer: 15

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

(Type: Numeric) 15


Question 11

If an inspection team member wanted to inspect all the branches of the company starting from and ending at , visiting each branch exactly once, then which of the following routes should he choose in order to pay minimum fare for flight journey?

  • Such a route is not possible.

Accepted Answers:


Question 12

What is the total maintenance cost (in hundreds of rupees) of the optimum subset of links? Your Answer: 15

Status: Yes, the answer is correct. Score: 1

Accepted Answers:

(Type: Numeric) 15


Question 13

Find the number of different ways of choosing an optimum subset of links for the given graph. Your Answer: 1

Accepted Answers:

(Type: Numeric) 4


Question 14

Suppose we perform Prim’s algorithm on the graph starting from vertex to find an MCST. Then the order in which the vertices are added is

Status: Yes, the answer is correct. Score: 1

Accepted Answers:


Question 15

Suppose we perform Kruskal’s algorithm on the graph starting from vertex to find an MCST. Which of the following edges are not added to the minimum cost spanning tree?

Status: Yes, the answer is correct. Score: 1

Accepted Answers: