#18 Graphs and Trees

#18 Graphs and Trees

20 Qs

quiz-placeholder

Similar activities

CHRISTMAS QUIZ STAFF

CHRISTMAS QUIZ STAFF

KG

17 Qs

Kelas 3 tema

Kelas 3 tema

3rd Grade

20 Qs

Repaso Tema 4- Primera parte

Repaso Tema 4- Primera parte

KG - University

17 Qs

Talasoterapia

Talasoterapia

University

20 Qs

בעיות הספק מנת פתיחה

בעיות הספק מנת פתיחה

KG - University

15 Qs

S.C lecture 3 P.2 (Conflict Theories)

S.C lecture 3 P.2 (Conflict Theories)

KG - University

20 Qs

Schülprüfungsvorbereitung 2

Schülprüfungsvorbereitung 2

KG - University

15 Qs

PRE TEST BIMTEK RSPP

PRE TEST BIMTEK RSPP

KG - University

20 Qs

#18 Graphs and Trees

#18 Graphs and Trees

Assessment

Quiz

others

Practice Problem

Medium

Created by

Claire Buckler

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

1. Starting at 'T' on the graph shown below, which of these sequences is given by a depth-first search?

A. TXYZUVW
TVUZXYW
TUVWXYZ
TVUXWZY

2.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

2. Which of these statements is true?

A. A directed graph has a root node and ends at leaf nodes
B. An undirected graph cannot be traversed using a depth-first search
C. Both a directed and an undirected graph can be traversed using either breadth-first or depth-first traversal techniques
D. An undirected graph has a root node and ends at leaf nodes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. What data structure is commonly used to manage breadth-first traversal of graph data structures?

A. Hash table
B. Linked list
C. Stack
D. Queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. Which of these real-world scenarios does not lend itself to representation by a graph data structure?

A. Railway stations and tracks between them
International flight routeB. s
C. Internet servers across a metropolitan area
D. The organisation of computer memory

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

5. Starting at '0' on the graph shown below, which of these sequences is given by a breadth-first search?

A. 0458761932
B. 0475698132
C. 0458132967
D. 0854169732

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

6. An algorithm is written to randomly visit all the nodes in the graph below at least once starting from '1'. Which of the following contains an illegal/erroneous random traversal of the graph?

A. 124635
B. 126453
C. 126354
D. 1245635

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of the following techniques cannot be used to represent a graph data structure?

A. A logic circuit diagram
B. An adjacency matrix
C. An object-oriented program
D. An array/list of tuples

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?