
Trees quizz
Authored by Auzoom four
Education
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a binary search tree, the left subtree of a node contains nodes with values:
A) Greater than the node's value
B) Less than the node's value
C) Equal to the node's value
D) Random values
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
. Which traversal technique is used to find the minimum element in a binary search tree (BST)?
A) Pre-order traversal
B) In-order traversal
C) Post-order traversal
D) Leftmost traversal
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of searching an element in a balanced binary search tree (BST)?
A) O(1)
B) O(log n)
C) O(n)
D) O(n log n)
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is the correct definition of a Red-Black Tree?
A) A self-balancing binary search tree
B) A binary tree where each node is colored either red or black
C) Both A and B
D) None of the above
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the time complexity of inserting an element into an AVL tree?
A) O(1)
B) O(log n)
C) O(n)
D) O(n log n)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following statements is true about a heap data structure?
A) It is a binary tree.
B) In a max-heap, the parent node is always smaller than its children.
C) It is used to implement priority queues.
D) It is always a balanced tree.
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which traversal method is best used to print the nodes of a binary tree in ascending order?
A) Pre-order traversal
B) In-order traversal
C) Post-order traversal
D) Level-order traversal
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
AUTOR: WILLIAM SHAKESPEARE
Quiz
•
University
17 questions
INOCUIDAD ALIMENTARIA
Quiz
•
University
15 questions
QUIZ 4 : ACCOUNTING CYCLE
Quiz
•
1st Grade - University
15 questions
Les pronoms relatifs
Quiz
•
8th Grade - University
10 questions
Quiz Webinar Hear Me
Quiz
•
KG - Professional Dev...
12 questions
Pares de nervos cranianos
Quiz
•
University
10 questions
Library Challenges: Stage 4 - Word Puzzle
Quiz
•
University
10 questions
LIstening Skill : Sequencing
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Education
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University