DSA Quiz

DSA Quiz

University

20 Qs

quiz-placeholder

Similar activities

PythonProgramming

PythonProgramming

University

15 Qs

Pengantar Teknologi Informasi 8

Pengantar Teknologi Informasi 8

University

17 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

E-Commerce

E-Commerce

University - Professional Development

16 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Basic Excel

Basic Excel

University

15 Qs

YAY! Fridate with ComSSA (Network 101)

YAY! Fridate with ComSSA (Network 101)

University

20 Qs

Programación Básica Prácticas Tema 2

Programación Básica Prácticas Tema 2

University

19 Qs

DSA Quiz

DSA Quiz

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Arikumar K S

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?