Search Header Logo

BST

Computers

Professional Development

Used 66+ times

BST
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In preorder traversal of a binary tree the second step is ____________

traverse the right subtree

traverse the left subtree

traverse right subtree and visit the root

visit the root

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Given a sequence of number below:

50,60,40,70,45,55,30,80,65,35,25,75,85


When creating a binary search tree, what is the height of the tree?

3

4

5

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many leaf are there in the tree?

1

3

4

7

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given a binary search tree, insert 27, 15, 63, 99, 70 and 85 (in this order) into the binary search tree. What is the post-order traversal?

5,15,27,34,47,54,63,70,72,75,83,85,88,94,99,101

72,54,34,5,27,15,47,63,70,83,75,88,85,101,94,99

15,27,5,47,34,70,63,54,75,85,99,94,101,88,83,72

15,27,5,47,34,63,54,70,75,85,99,94,101,88,83,72

none of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Kind of tree where every node in a tree can have at most two children.

Binary Tree
Binary Expression Tree
Tree
Binary Search Tree

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the value of the ROOT node in this Tree?

35

24

42

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Root

data structure similar to a graph, with no loops.

an object in a graph also known as a vertex

a join of relationship between nodes - also know as an arc

the starting node in a rooted tree structure from which all other nodes branch off./

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?