1. Home
  2. Engineering
  3. Computer Engineering
  4. Which statement is correct? A spanning tree of a graph

Added 28 Nov 2026

Which statement is correct? A spanning tree of a graph

  1. Connects all vertices without forming a cycle Correct answer
  2. Is carried out using a stack
  3. Follows the last-in first-out (LIFO) principle
  4. Has an average time complexity of O(n log n) and a worst case of O(n²)

Correct answer

A. Connects all vertices without forming a cycle

MCQSEXAM

Explanation

A spanning tree of a graph connects all vertices without forming a cycle.

Reference

Asked in: Engineering Computer Engineering Practice

https://en.wikipedia.org/wiki/Data_structure

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Engineering MCQs

Practise all Computer Engineering MCQs

Similar MCQs