GATE CSE Graphs & Graph Algorithms – Data Structures Practice Test | Set 1

Questions 41-45 of 100

0% completed (0/100 answered)
Your score 0/100 0 answered
Correct 0 Incorrect 0 Unanswered 100 Accuracy 0%

Question 41

MCQ · Single Correct 1 mark

Which of the following graph traversals visits vertices level-by-level in order of their distance from the source?

Answers for question 41

Question 42

MCQ · Single Correct 1 mark

If all edge weights in a graph are equal to a constant positive integer C, which algorithm finds the shortest path from a source in O(V + E) time?

Answers for question 42

Question 43

MCQ · Single Correct 1 mark

What is the sum of degrees of all vertices in a simple graph with 15 edges?

Answers for question 43

Question 44

MCQ · Single Correct 2 mark

If a simple graph has 8 vertices and 3 connected components, what is the MAXIMUM possible number of edges it can contain?

Answers for question 44

Question 45

MCQ · Single Correct 1 mark

What is the maximum number of edges in a simple acyclic undirected graph (Forest) with V vertices and C connected components?

Answers for question 45
Scroll to Top