DSA Quiz

DSA Quiz

University

20 Qs

quiz-placeholder

Similar activities

DS QUIZ 2

DS QUIZ 2

University

20 Qs

Searching and Sorting

Searching and Sorting

University - Professional Development

15 Qs

Data Structures Quiz

Data Structures Quiz

University

20 Qs

Data Structure

Data Structure

University

15 Qs

DATA STRUCTURES

DATA STRUCTURES

University

20 Qs

Algorithm questions

Algorithm questions

12th Grade - University

20 Qs

DSA QUIZ

DSA QUIZ

University

20 Qs

Data Structures

Data Structures

University

20 Qs

DSA Quiz

DSA Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Arikumar K S

Used 5+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal of binary search tree outputs the value in sorted order?
Pre-order
Post-order
In-Order
None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A binary search tree by inserting in order the following integers: 50, 22, 15, 62, 77, 5, 9, 100, 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
(10,5)
(8,7)
(7,8)
(9,6)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the MINIMUM number of nodes in a binary search tree of height = 5?
6
5
4
None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When deleting from a binary search tree, if the node being deleted has 2 children, we replace the entry with ____.
the inorder successor
the left child
the right child
None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
If I deleted the root from the Binary Search Tree what could I replace it with?
52
70
30
75

6.

MULTIPLE CHOICE QUESTION

30 sec • 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
4
3
5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the minimum possible height of an AVL tree with 7 nodes?
2
3
1
4

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?