Indian Institute of Technology Madras
BS Degree Programme · Examination & Study Paper
BSMA1001 · Mathematics for Data Science I
Graphs: BFS, DFS, colouring & covers
Examination Instructions & Guidelines
- Solve on notebook/paper first before checking solutions.
- MSQ: One or more options correct. Select all to score.
- NAT: Numerical response. No negative marking.
- Scientific calculator allowed for all calculations.
- Official answer key is sealed at the end of this sheet.
End Term · 31 Aug 2025 (FN)End Term
- Q1MSQ3 Marks·Choose all correct options
The following tree is the BFS tree rooted at node P of an undirected graph :
Which of the following edges cannot exist in the original graph?- A(T, V)
- B(U, R)
- C(P, U)
- D(W, P)
- Q2NAT4 Marks·Write the number
Your answer:
End Term · 13 Apr 2025 (FN)End Term
- Q3MSQ4 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q4MSQ4 Marks·Choose all correct options

- AIf we perform Breadth-First Search at node 0, then one of the possible orders in which the nodes will be visited is 01423567.
- BIf we perform Depth First Search at node 0, then one of the possible order in which the nodes will be visited is 04123576
- CIf we perform Breadth-First Search at node 0, then one of the possible orders in which the nodes will be visited is 01423765.
- DIf we perform Depth First Search at node 0, then one of the possible orders in which the nodes will be visited is 04132567.
Read the passage below, then answer Q5
Suppose Nitya wishes to find the minimum cost spanning tree of the graph given below. While finding the minimum cost spanning tree she finds that a few edge weights are missing (x and y) but she is sure that the weight of the minimum cost spanning tree is 15 in the graph.

Based on the above data, answer the given subquestions.
Q5NAT3 Marks·Write the numberWhat is the minimum number of colors required to properly color the vertices of the given graph such that no two adjacent vertices share the same color?
Your answer:
End Term · 13 Apr 2025 (AN)End Term
- Q6MSQ4 Marks·Choose all correct options

- A

- B

- C

- D

- A
- Q7MSQ4 Marks·Choose all correct options

- AIf we perform Breadth-First Search at node 0, then one of the possible orders in which the nodes will be visited is 01246573.
- BIf we perform Depth First Search at node 7, then one of the possible order in which the nodes will be visited is 74356012
- CIf we perform Breadth-First Search at node 0, then one of the possible orders in which the nodes will be visited is 01264537.
- DIf we perform Depth First Search at node 0, then one of the possible orders in which the nodes will be visited is 76435012.
Read the passage below, then answer Q8

Based on the above data, answer the given subquestions.
Q8NAT3 Marks·Write the numberWhat is the minimum number of colors required to properly color the vertices of the given graph such that no two adjacent vertices share the same color?
Your answer:
End Term · 22 Dec 2024 (FN)End Term
- Q9MSQ3 Marks·Choose all correct options

- AThe Number of edges is 8.
- BThe Number of vertices is 5.
- CThe Number of edges is 7.
- DEach vertex has degree 3.
- Q10NAT5 Marks·Write the number
Your answer: