Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

University

30 Qs

quiz-placeholder

Similar activities

DSA Quiz Finals

DSA Quiz Finals

University

30 Qs

Comp 210 MT2 Review

Comp 210 MT2 Review

University

27 Qs

ECS 36C Quizizz

ECS 36C Quizizz

University

29 Qs

EC8393_FDS_MODEL_EXAM_1_PART A

EC8393_FDS_MODEL_EXAM_1_PART A

University

30 Qs

ICT 1 (H1H2)

ICT 1 (H1H2)

University

25 Qs

DSA - BST

DSA - BST

University

30 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

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?