ONE 6th FORM Binary Search Tree

ONE 6th FORM Binary Search Tree

11th Grade

15 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

10th - 11th Grade

20 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 Qs

informatika

informatika

7th Grade - University

10 Qs

Computer Quiz

Computer Quiz

1st Grade - Professional Development

15 Qs

GCSE Networks and Internet

GCSE Networks and Internet

9th - 11th Grade

20 Qs

Searching Algorithms

Searching Algorithms

9th - 11th Grade

16 Qs

Linear and Binary Search Algorithms

Linear and Binary Search Algorithms

11th Grade

10 Qs

PR XI-2

PR XI-2

11th Grade

20 Qs

ONE 6th FORM Binary Search Tree

ONE 6th FORM Binary Search Tree

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Lorna Jarrett

Used 1+ times

FREE Resource

15 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

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal method is described as "Left, Root, Right"?

Pre-order

In-order

Post-order

Level-order

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?