
Binary Tree Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
Нурлыбай Узакбаев
Used 5+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a property of a binary tree?
Each node has at most two children.
All nodes have exactly two children.
The height of the tree is always equal to the number of nodes.
All nodes are at the same level.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search tree (BST), which of the following statements is true?
The left child is always greater than the parent node.
The right child is always less than the parent node.
The left child is always less than the parent node.
The nodes are arranged in a random order.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of a balanced binary tree?
All leaf nodes are at the same level.
The height difference between the left and right subtrees is at most one.
Every node has two children.
The tree is always complete.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a binary tree has a height of 3, what is the maximum number of nodes it can have?
7
15
31
63
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Given a binary tree, how would you determine its height?
Count the number of leaf nodes.
Count the number of edges from the root to the deepest leaf.
Count the total number of nodes.
Measure the width of the tree.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you are given a binary tree and asked to perform an in-order traversal, which sequence would you follow?
Visit the root, then the left subtree, and finally the right subtree.
Visit the left subtree, then the root, and finally the right subtree.
Visit the left subtree, then the right subtree, and finally the root.
Visit the right subtree, then the left subtree, and finally the root.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Analyze the following binary tree structure. If the root node has a value of 10, the left child has a value of 5, and the right child has a value of 15, what can you conclude about this tree?
It is a binary search tree.
It is an unbalanced tree.
It is a complete binary tree.
It has duplicate values.
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
[AP CSP] Binary Number System

Quiz
•
9th - 12th Grade
12 questions
Binary Numbers Quiz

Quiz
•
8th - 12th Grade
10 questions
1.4.2 Data Structures - Trees

Quiz
•
12th Grade - University
14 questions
A-Level Computer Science Data Structures Quiz

Quiz
•
12th Grade - University
10 questions
Binary Search Tree Quiz No 2

Quiz
•
12th Grade
12 questions
Exploring Binary Trees Quiz

Quiz
•
12th Grade
10 questions
Tree

Quiz
•
12th Grade
13 questions
hexadecimal binary decimal

Quiz
•
10th - 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