Understanding Binary Trees and Insertion

Understanding Binary Trees and Insertion

12th Grade

8 Qs

quiz-placeholder

Similar activities

binary tree

binary tree

12th Grade

11 Qs

Tree Data Structure Quiz

Tree Data Structure Quiz

12th Grade

10 Qs

Data Representation - Converting Denary to Binary

Data Representation - Converting Denary to Binary

3rd - 12th Grade

10 Qs

Network Typologies

Network Typologies

12th Grade

8 Qs

Exploring Data Structures and Algorithms

Exploring Data Structures and Algorithms

12th Grade

10 Qs

Priority Queues and Heaps

Priority Queues and Heaps

9th - 12th Grade

10 Qs

AVL Trees

AVL Trees

KG - University

12 Qs

Computer Application ISC

Computer Application ISC

12th Grade

12 Qs

Understanding Binary Trees and Insertion

Understanding Binary Trees and Insertion

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Matthew Wemyss

Used 1+ times

FREE Resource

8 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 three children.

Each node has at most two children.

Each node has exactly two children.

Each node has at least one child.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a tree traversal method?

In-order

Pre-order

Post-order

Reverse-order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in inserting a node into a binary search tree?

Compare the node with the root.

Insert the node at the root.

Traverse to the leftmost node.

Traverse to the rightmost node.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an application of binary trees?

Network routing

Sorting algorithms

Expression parsing

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a binary search tree, where is the smallest element located?

Rightmost node

Leftmost node

Root node

Any leaf node

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main advantage of using a binary search tree over a linked list?

Faster insertion

Faster search

Easier to implement

Uses less memory

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a characteristic of a binary search tree?

Left subtree contains nodes with keys less than the root.

Right subtree contains nodes with keys greater than the root.

All nodes have two children.

In-order traversal results in sorted order.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of performing a post-order traversal on a binary tree?

Root, Left, Right

Left, Right, Root

Right, Root, Left

Left, Root, Right