Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

University

30 Qs

quiz-placeholder

Similar activities

Data Structures and  Its Applications

Data Structures and Its Applications

University

30 Qs

QUIZ

QUIZ

University

25 Qs

Quiz Struktur Data

Quiz Struktur Data

University

25 Qs

Types of Trees

Types of Trees

University

25 Qs

DSA_Midterm Quiz no. 1

DSA_Midterm Quiz no. 1

University

25 Qs

Data Structure & Algorithm-Quiz-1

Data Structure & Algorithm-Quiz-1

University

30 Qs

Battle With DSA

Battle With DSA

University

30 Qs

BUG-OFF

BUG-OFF

University

30 Qs

Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

Assessment

Quiz

Computers

University

Easy

Created by

Ms. 16458

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a binary tree?

A tree with only one child per node

A tree with two children per node

A tree with at most two children per node

A tree with more than two children

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal visits root first, then left and right?

Inorder

Postorder

Preorder

Level order

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure is used for level order traversal?

Stack

Queue

Array

Linked list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a full binary tree, every node has:

No child

One child

Two children or no child

More than two children

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the maximum number of nodes in level 3?

3

6

4

8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The root of a binary tree is the:

Last node

Middle node

First node

Any node

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal visits left, root, right?

Preorder

Inorder

Postorder

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?