Tree Data Structure Quiz

Tree Data Structure Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

UH BAB II

UH BAB II

9th Grade - University

25 Qs

Data Structures 1

Data Structures 1

12th Grade

20 Qs

IBDP Computer Science: abstract data structures

IBDP Computer Science: abstract data structures

12th Grade

20 Qs

Data Structures - Lists

Data Structures - Lists

12th Grade

22 Qs

FSW CH5 Hirzi

FSW CH5 Hirzi

1st - 12th Grade

20 Qs

A2 DT Networks 2

A2 DT Networks 2

12th Grade

21 Qs

Quiz Struktur Data

Quiz Struktur Data

9th Grade - University

20 Qs

Algorithms - Optimisation (Dijkstra)

Algorithms - Optimisation (Dijkstra)

12th Grade

22 Qs

Tree Data Structure Quiz

Tree Data Structure Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Belle Johnson

Used 6+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a non-linear data structure?

Array

Linked List

Tree

Queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the root of a tree?

The only node with no incoming edges

The first node in the tree

The node with the highest level

The node with the lowest level

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for an ordered list of nodes connected by edges?

Sibling

Path

Parent

Subtree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the level of a node in a tree?

The number of edges on the path from the root to the node

The height of the tree

The number of children a node has

The priority of the node

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which implementation option does Python provide for binary trees?

Linked List

List of Lists

Array

Stack

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary difference between breadth-first and depth-first tree traversals?

The order in which nodes are visited

The level of the nodes visited

The height of the tree

The number of nodes in the tree

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does a priority queue prioritize when dequeuing items?

Order of arrival

The size of the item

The level of the item

Priority

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?