ADS 1

ADS 1

University

21 Qs

quiz-placeholder

Similar activities

Data Structures Quiz No 2

Data Structures Quiz No 2

University

20 Qs

Exploring Non-Linear Data Structures

Exploring Non-Linear Data Structures

University

20 Qs

ICT 1 (H1H2)

ICT 1 (H1H2)

University

25 Qs

AOS Quiz

AOS Quiz

University

20 Qs

Quiz on Tree and Graph Data Structures

Quiz on Tree and Graph Data Structures

University

18 Qs

DSAA QUIZ

DSAA QUIZ

University

20 Qs

Fundamentals of Computers and Number System

Fundamentals of Computers and Number System

University

20 Qs

ITS665_Chap4

ITS665_Chap4

University

20 Qs

ADS 1

ADS 1

Assessment

Quiz

Computers

University

Hard

Used 20+ times

FREE Resource

AI

Enhance your content

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

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The height of a BT is given as h. Consider the height of the tree as the

no. of edges in the longest path from root to the leaf. The maximum no.

of nodes possible in the tree is?

2 h-1 -1

2 h+1 -1

2 h +1

2 h-1 +1

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The no of external nodes in a full binary tree with n internal nodes is?

n

n+1

2n

2n+1

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Suppose a binary tree is constructed with n nodes, such that each node

has exactly either zero or two children. The maximum height of the tree

will be?

(n+1)/2

(n-1)/2

n/2 -1

(n+1)/2

4.

MULTIPLE CHOICE QUESTION

45 sec • 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

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In full binary search tree every internal node has exactly two children. If there are 100 leaf nodes in the tree, how many internal nodes are there in the tree?

25

49

99

101

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Pre-order

Post-order

In-order

None Answer B

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a full binary tree, every internal node has exactly two children. A full binary tree with 2n+1 nodes contains

n leaf node

n internal nodes

n-1 leaf nodes

n-1 internal nodes

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?