Binary Search Tree

Binary Search Tree

University

7 Qs

quiz-placeholder

Similar activities

Data Structure

Data Structure

University

10 Qs

Data Structures Quiz

Data Structures Quiz

University

10 Qs

DS Quiz1

DS Quiz1

University

10 Qs

HEAP

HEAP

University

10 Qs

Struktur Data 12

Struktur Data 12

12th Grade - University

10 Qs

QUIZ AI B 20221

QUIZ AI B 20221

University

10 Qs

ASAS SAINS KOMPUTER TINGKATAN 3 (BAB 3)

ASAS SAINS KOMPUTER TINGKATAN 3 (BAB 3)

University

7 Qs

Merge Sort

Merge Sort

University

11 Qs

Binary Search Tree

Binary Search Tree

Assessment

Quiz

Computers

University

Medium

Created by

PANDU WICAKSONO

Used 5+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the left subtree of a node in a Binary Search Tree contain?

Elements with duplicate keys

Elements equal to the node

Elements smaller than the node

Elements greater than the node

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is used to find a key in a Binary Search Tree?

remove(x)

insert(x)

update(x)

search(x)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is insertion into a Binary Search Tree done?

Recursively

Using a stack

Using a queue

Iteratively

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

What is the correct algorithm for deletion in a Binary Search Tree?

Find the successor and remove it

Find the predecessor and remove it

Delete the root node

Delete the leaf nodes

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the property of Binary Search Tree that makes searching easy?

Elements are sorted in descending order

Elements are sorted in ascending order

Elements are randomly arranged

Elements are stored in a linked list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operation is used to insert a new key into a Binary Search Tree?

search(x)

remove(x)

insert(x)

find(x)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the right subtree of a node in a Binary Search Tree contain?

Elements greater than the node

Elements smaller than the node

Elements equal to the node

Elements with duplicate keys