Search Header Logo

Tree Data Structure

Authored by Sangameshwar Biradar

Computers

University - Professional Development

Used 1+ times

Tree Data Structure
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

A tree is composed of ____ connected by edges or lines.

Fruit 
Leaf Node
Root Node
Nodes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

35

24

42

20

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary TREE

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

a tree where each node can only have 2 child nodes attached to it

4.

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

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

How many leaf are there in the tree?

1

3

4

7

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

In this tree, where would the new value "7" be placed?

On the left "leaf" of "4"
On the right "leaf" of "6"
On the left "leaf" of "15"
Over the top of the current number "5"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these tree traversal methods is used to output the contents of a binary tree in ascending order?

Pre-Order

In-Order

Post-Order

Monastic Orders

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?