Group 2 - Trees

Group 2 - Trees

University

11 Qs

quiz-placeholder

Similar activities

CP-II

CP-II

University

10 Qs

CodeCadette

CodeCadette

University

15 Qs

Aaruth Quiz

Aaruth Quiz

University

10 Qs

أسئلة عن هياكل البيانات

أسئلة عن هياكل البيانات

University

12 Qs

Trees and Advanced Sorting Algorithms

Trees and Advanced Sorting Algorithms

University

10 Qs

AI Quiz 1

AI Quiz 1

University

10 Qs

Examen Unidad 03

Examen Unidad 03

University

14 Qs

Group 2 - Trees

Group 2 - Trees

Assessment

Quiz

Other

University

Medium

Created by

Liyaaa G

Used 5+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

What are the 4 common operation in binary search tree?

SEARCH

INSERTION

DELETION

TRAVERSAL

PEEK

2.

MULTIPLE SELECT QUESTION

10 sec • 2 pts

What are the different traversal types? Select all the correct answers.

Breadth-First or Level Order

Inorder

Postorder

Depth-First

Preorder

Answer explanation

Media Image

The Inorder, Preorder, and Postorder are under Depth First.

3.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Type of search that repeatedly partitions all the elements to find a certain element.

Binary Search Tree

Binary Tree

4.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

An ___________________ is a data structure in which the data is placed in a linear way.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In binary search tree, what is the formula for getting the middle of the list?

middle = (left + right) / 2

middle = left + right / 2

middle = left + (right / 2)

middle = (left - right) / 2

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The procedure of visiting all the nodes in a specific order.

Trees Tranversal

Binary Search Tree

Tree Traversal

Tree Transvesal

7.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Media Image

IS THIS A TREE DATA STURCTURE?

YES

NO

Answer explanation

Media Image

REMEMBER: NODES THAT ARE ALLIGNED OR ON THE SAME LEVEL CANNOT CONNECT.

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?