
Tree Data Structure Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
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
Similar Resources on Wayground
27 questions
Priority Queues and Heapsort

Quiz
•
9th - 12th Grade
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
20 questions
19.1 Algorithms Cambridge iA 9618

Quiz
•
12th Grade
20 questions
Latihan Informatika Kelas 9

Quiz
•
9th Grade - University
26 questions
Data Structures - Lists & Linked Lists

Quiz
•
12th Grade
20 questions
Computer Quiz

Quiz
•
6th - 12th Grade
20 questions
js_edu_wrap_up

Quiz
•
1st Grade - Professio...
20 questions
CSE334_CA5

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade