Question 1
The DFS (Depth First Search) tree of a graph starting with vertex A is shown below. Choose the option which might be the original graph.

The IIT Madras BS Mathematics for Data Science I (Maths 1) End Term paper sat on 28 Apr 2024, in the January 2024 term, set QDF1: 24 questions for 50 marks in 180 minutes. Every question is below with its answer. Take it as a timed mock test to be marked, or read it through first.
The DFS (Depth First Search) tree of a graph starting with vertex A is shown below. Choose the option which might be the original graph.
Correct answer
Which of the following are valid topological orderings of the given DAG ?
E, F, C, B, A, G, H, D
E, F, B, C, G, A, H, D
E, F, C, B, G, A, H, D
E, F, C, B, G, H, D, A
Correct answers
E, F, C, B, G, A, H, D
E, F, C, B, G, H, D, A
Suppose and are two sets. Consider the following relations on .
Which of the following statements are correct?
R2,R3, and R4 are functions.
R2 and R4 are functions.
R2 is an injective function.
R4 is a bijective function.
Correct answers
R2 and R4 are functions.
R4 is a bijective function.
Correct answers
What is the minimum number of colours required to colour the graph given below?
Correct answer: 4
Correct answer: 1
A person is climbing stairs and he stops at a point P on the stairs after reaching two third of the total distance of stairs. The stairs forms an isosceles triangle with the floor and wall. Assume the origin (0, 0) at the intersection of the wall and floor and the stairsis to the right of the wall. Based on the above data, answer the given subquestions.
Find the angle between the stairs and the wall (in degrees).
Correct answer: 45
A person is climbing stairs and he stops at a point P on the stairs after reaching two third of the total distance of stairs. The stairs forms an isosceles triangle with the floor and wall. Assume the origin (0, 0) at the intersection of the wall and floor and the stairsis to the right of the wall. Based on the above data, answer the given subquestions.
Correct answer: 2
Based on the above data, answer the given subquestions.
Correct answer: 11
Based on the above data, answer the given subquestions.
**Note:**Enter your answer correctly to two decimal places.
Correct answer: 0.125 (accepted within ±0.005)
Consider an undirected graph G with 12 vertices, where the degree of each vertex is at least 2 and at most 5.
Based on the above data, answer the given subquestions.
Determine the minimum number of edges the graph G can have.
Correct answer: 12
Consider an undirected graph G with 12 vertices, where the degree of each vertex is at least 2 and at most 5.
Based on the above data, answer the given subquestions.
Determine the maximum number of edges the graph G can have.
Correct answer: 30
Based on the above data, answer the given subquestions.
TRUE
FALSE
Correct answer
TRUE
Based on the above data, answer the given subquestions.
TRUE
FALSE
Correct answer
FALSE
Based on the above data, answer the given subquestions.
TRUE
FALSE
Correct answer
TRUE
Based on the above data, answer the given subquestions.
TRUE
FALSE
Correct answer
FALSE
Answer the given sub-questions.
Correct answer: 4
Answer the given sub-questions.
TRUE
FALSE
Correct answer
FALSE
Answer the given sub-questions.
TRUE
FALSE
Correct answer
FALSE
Answer the given sub-questions.
Correct answer: 2
Based on the above data, answer the given subquestions.
Correct answer: 1
Based on the above data, answer the given subquestions.
Correct answer: 14
Consider the following adjacency matrix
which represents graph which has 5 vertices and .
Based on the above data, answer the given subquestions.
Which of the following is true about the graph G?
The vertices A,B,D and E are reachable from vertex C.
The longest path in the graph G starts with vertex C and ends with vertex E.
The graph G is a directed acyclic graph.
The longest path in the graph G has length 3, in terms of number of edges.
Correct answers
The vertices A,B,D and E are reachable from vertex C.
The graph G is a directed acyclic graph.
The longest path in the graph G has length 3, in terms of number of edges.
Consider the following adjacency matrix
which represents graph which has 5 vertices and .
Based on the above data, answer the given subquestions.
Which of the following graph(s) is represented by the given adjacency matrix?
Correct answers