Binary Search Tree

Binary Search Tree

University

7 Qs

quiz-placeholder

Similar activities

Website Usability and UX

Website Usability and UX

University

10 Qs

2024 - Struktur Data Quiz 1

2024 - Struktur Data Quiz 1

University

10 Qs

Python Week 1 & 2

Python Week 1 & 2

University

10 Qs

Quiz 1: The background and history of IoT

Quiz 1: The background and history of IoT

University

10 Qs

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

CS100||MsWord

CS100||MsWord

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Binary Search Tree

Binary Search Tree

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Nicolas Jara

Used 62+ 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

30 sec • 1 pt

Media Image

Would this Binary Tree be considered a Binary Search Tree?

Yes 

No

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Is this a binary search tree and what is the runtime for traversal?

Yes, O(log(n))

No, O(n)

Yes, O(n)

No, O(log(n))

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When adding a node with the same value as its root where would it go?

Left

Right

Depends on the implementation

doesn't matter

4.

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?

7

14

3

1

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What does this code do?

Find all the values less than root.item

Find the max value

Find the min value

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What does this code do?

Count all the items greater than k.

Count all the items less than k

Count all the items equal to k

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these Trees is a Binary Search Tree?

Media Image
Media Image
Media Image

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