Search Header Logo

Breadth First Search Quiz

Authored by PAUL FENOGLIO

Computers

University

Used 14+ times

Breadth First Search Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used in breadth first search?

Queue

Stack

Array

Heap

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the traversal algorithm used in breadth first search?

queue

stack

linked list

heap

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of breadth first search?

To find the shortest path between two vertices.

To explore all the vertices of a graph or tree in breadth-first order.

To find the maximum flow in a network.

To sort the vertices of a graph in ascending order.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of graph is used in breadth first search?

Undirected graph

Cyclic graph

Weighted graph

Directed graph

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of breadth first search?

O(V)

O(E)

O(V + E)

O(V * E)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In breadth first search, which vertex is visited first?

Starting vertex or root vertex

Random vertex

Middle vertex

Last vertex

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a step in breadth first search?

C

B

D

A

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?