Consider the AVL tree below. What is the breadth-first traversal of the tree after inserting a node with value 24?

CSD201_PART3

Quiz
•
Other
•
University
•
Hard
Phạm Ngân
Used 1+ times
FREE Resource
55 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. 35, 22, 39, 12, 32, 37, 24, 27
B. 35, 22, 39, 12, 32, 37, 27, 24
C. 35, 22, 39, 12, 37, 27, 24, 32
D. 35, 22, 39, 12, 27, 37, 24, 32
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the breadth-first traversal of a tree below after deleting the node 30 by merging?
A. 25, 15, 40, 5, 20, 35, 10
B. 15, 5, 25, 10, 20, 40, 35
C. 15, 5, 40, 10, 35, 25, 20
D. 25, 15, 40, 5, 35, 10, 20
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the breadth-first traversal from the vertex F of a graph below? (visit nodes in ABC order if there are some nodes having the same selection ability)
A. F, C, D, G, B, A, E
B. F, C, B, D, G, A, E, H
C. F, C, D, G, A, B, E, H
D. F, C, D, G, B, A, E, H
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a graph below. What is the output of depth-first traversal from vertex B? (visit nodes in ABC)
A. B, A, E, G, C, D, F, H
B. B, A, E, G, F, D, C
C. B, A, C, E, G, F, D, H
D. B, A, E, G, F, D, C, H
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the AVL tree below. What is the breadth-first traversal of the tree after inserting a node with value 28?
A. 35, 22, 39, 12, 32, 37, 27, 28
B. 35, 22, 39, 12, 32, 37, 28, 27
C. 35, 22, 39, 12, 28, 37, 27, 32
D. 35, 22, 39, 12, 37, 28, 27, 32
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a binary search tree T below. What is a result of the breadth-first traverse of T after you delete by merging node 3?
A. 6, 1, 8, 2, 4, 7, 9
B. 6, 1, 8, 2, 7, 9, 4
C. 6, 2, 8, 1, 4, 7, 9
D. 6, 2, 1, 4, 8, 7, 9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the AVL tree below. What is the breath-first traversal of the tree after inserting a node with value 33?
A. 40, 25, 50, 15, 33, 45, 30, 35
B. 40, 25, 50, 15, 30, 45, 33, 35
C. 40, 25, 50, 15, 30, 45, 35, 33
D. 40, 25, 50, 15, 35, 45, 30, 33
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
UAS BAHASA INDONESIA

Quiz
•
University
50 questions
VICTOR SAM MEMORIAL QUIZ COMPETITION 2024

Quiz
•
University
60 questions
EDUCATION DAY 2022 QUIZLET

Quiz
•
University
60 questions
Round 1: Rapid Fire

Quiz
•
University
50 questions
Economy - 1-50 - yo

Quiz
•
University
50 questions
Test de razonamiento abstracto

Quiz
•
11th Grade - University
50 questions
SM 1 UAS PANCASILA

Quiz
•
University
51 questions
Surveying

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade