Binary Tree Quiz

Binary Tree Quiz

12th Grade

14 Qs

quiz-placeholder

Similar activities

Priority Queues and Heaps

Priority Queues and Heaps

9th - 12th Grade

10 Qs

A Level Computing 1.4.2 Data structures: Trees #1

A Level Computing 1.4.2 Data structures: Trees #1

12th Grade

14 Qs

Exploring Trees in Data Structures

Exploring Trees in Data Structures

12th Grade

10 Qs

AVL Trees

AVL Trees

KG - University

12 Qs

Data Structures & Algorithm Quiz final

Data Structures & Algorithm Quiz final

12th Grade

15 Qs

Binary Search Tree Quiz

Binary Search Tree Quiz

12th Grade

10 Qs

binary tree

binary tree

12th Grade

11 Qs

Tree Data Structure Quiz

Tree Data Structure Quiz

12th Grade

10 Qs

Binary Tree Quiz

Binary Tree Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Нурлыбай Узакбаев

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?