
Binary Tree and Heap Quiz
Authored by Harwin Mendoza
Education
Professional Development

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the infix expression for the operation 1*2+3?
1+2*3
1*2+3
1+(2*3)
(1*2)+3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In postfix notation, how is the expression (12*3)+4 represented?
12*3+
123*4+
12*3+4
12*34+
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has the highest precedence?
^
*
-
+
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the left subtree of a binary search tree node supposed to contain?
Only leaf nodes
Duplicate nodes
Nodes with keys lesser than the node’s key
Nodes with keys greater than the node’s key
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when you try to insert a duplicate key in a binary search tree?
It skips the insertion
It throws an error
It replaces the existing node
It creates a new node
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a max-heap, what is true about the root node?
It is always a leaf node
It can be any value
It contains the maximum value
It contains the minimum value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary use of heaps?
Implementing binary search trees
Implementing priority queues
Storing sorted data
Creating expression trees
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
Supply_PKT Cycle 1
Quiz
•
Professional Development
20 questions
Module 6: Social Groups and Organization
Quiz
•
11th Grade - Professi...
15 questions
COVID19
Quiz
•
6th Grade - Professio...
18 questions
Fire & Safety
Quiz
•
Professional Development
13 questions
Love
Quiz
•
Professional Development
10 questions
Module 2
Quiz
•
Professional Development
10 questions
Resume
Quiz
•
Professional Development
10 questions
CURRENT AFFAIRS
Quiz
•
12th Grade - Professi...
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
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...