Quiz Space

Programming, Data Structures and Algorithms using Python · Quiz 1 · 29 Oct 2023 · September 2023 term

Question 11: Suppose we obtain the following DFS tree rooted at node …

Question 11

+4 marksOne or more correct options

Suppose we obtain the following DFS tree rooted at node A for an undirected graph with vertices {A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P}.

Which of the following cannot be an edge/edges in the original graph?

Select all that apply.

  1. A

    (A, K)

  2. B

    (H, J)

  3. C

    (M, N)

  4. D

    (B, O)

  5. E

    (P, E)

  6. F

    (C, M)

Show answer

Correct answers

  • B

    (H, J)

  • C

    (M, N)

  • E

    (P, E)

Question 11 of 15 in the IIT Madras BS Programming, Data Structures and Algorithms using Python (PDSA) Quiz 1 paper sat on 29 Oct 2023, in the September 2023 term (IIT M DIPLOMA AN2 EXAM QPD2 29 Oct 2023). It carries 4 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Figure question
  3. Q3Figure question
  4. Q4Figure question
  5. Q5Figure question
  6. Q6Figure question
  7. Q7A doctor sees patients in his consulting room every evening. A certain number of appointments are given for each evenin…
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Figure question
  11. Q12Figure question
  12. Q13Figure question
  13. Q14Figure question
  14. Q15Consider the following Directed Acyclic Graph(DAG): The number of possible topological order(s) for the given graph is_.