DATA STRUCTURES

DATA STRUCTURES

University

20 Qs

quiz-placeholder

Similar activities

Data Structures - Tree

Data Structures - Tree

University - Professional Development

20 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

DSA - Binary Tree 2-3

DSA - Binary Tree 2-3

University

20 Qs

INTRODUCTION TO TREE DATA STRUCTURE

INTRODUCTION TO TREE DATA STRUCTURE

University

20 Qs

special exam in BINARY TREE

special exam in BINARY TREE

University

15 Qs

SMARTICUS

SMARTICUS

University

20 Qs

DSA_Quiz_3

DSA_Quiz_3

University

20 Qs

1 Binary Search Trees

1 Binary Search Trees

University

20 Qs

DATA STRUCTURES

DATA STRUCTURES

Assessment

Quiz

Computers

University

Hard

Created by

Priyangha V

Used 200+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

The number of edges from the node to the deepest leaf is called ___ of the tree.

Height

Depth

Length

Width

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a full binary tree?

Each node has exactly zero or two children

Each node has exactly two children

All the leaves are at the same level

Each node has exactly one or two children

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a complete binary tree?

 Each node has exactly zero or two children

A binary tree, which is completely filled, with the possible exception of the bottom level, which is filled from right to left

A binary tree, which is completely filled, with the possible exception of the bottom level, which is filled from left to right

A tree In which all nodes have degree 2

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not an advantage of trees?

Hierarchical structure

Faster search

Router algorithms

Undo/Redo operations in a notepad

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a full binary tree if number of internal nodes is I, then number of leaves L are?

L = 2*I

L = I + 1

L = I – 1

L = 2*I – 1

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following highly uses the concept of an array?

Binary Search tree

Caching

Spatial locality

Scheduling of Processes

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Any node is the path from the root to the node is called

Successor node

Ancestor node

Internal node

None of the above

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?