Trees - Data Structures

Trees - Data Structures

University

7 Qs

quiz-placeholder

Similar activities

Logika Fuzzy

Logika Fuzzy

University

10 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

TOOLS FOR AD & TECHNOLOGY DEVELOPMENT (W4-W6)

University

10 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

Tes Awal Modul 5 CC

Tes Awal Modul 5 CC

University

10 Qs

Trees - Data Structures

Trees - Data Structures

Assessment

Quiz

Computers

University

Hard

Created by

Jeevitha P

Used 76+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement about binary tree is CORRECT?

Every binary tree is either complete or full

Every complete binary tree is also a full binary tree

Every full binary tree is also a complete binary tree

A binary tree cannot be both complete and full

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which type of traversal of binary search tree outputs the value in sorted order?

Pre-order

Post-order

In-Order

None

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A binary search tree is generated by inserting in order the following integers:

50, 15, 62, 5, 20, 58, 91, 3, 8, 37, 60, 24


The number of the node in the left sub-tree and right sub-tree of the root, respectively, is

(4, 7)

(7, 4)

(8, 3)

(3, 8)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In delete operation of BST, we need inorder successor (or predecessor) of a node when the node to be deleted has both left and right child as non-empty. Which of the following is true about inorder successor needed in delete operation?

Inorder Successor is always a leaf node

Inorder successor is always either a leaf node or a node with empty left child

Inorder successor may be an ancestor of the node

Inorder successor is always either a leaf node or a node with empty right child

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the maximum height of any AVL-tree with 7 nodes? Assume that the height of a tree with a single node is 0.

2

3

4

5

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In the balanced binary tree in the figure given below, how many nodes will become unbalanced when a node is inserted as a child of the node “g”?

1

3

7

8

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Which of the following sequences denotes the post order traversal sequence of the tree?

f e g c d b a

g c b d a f e

g c d b f e a

f e d g c b a

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?

Discover more resources for Computers