Binary Trees and Traversals Quiz

Binary Trees and Traversals Quiz

University

30 Qs

quiz-placeholder

Similar activities

Data Structures 1

Data Structures 1

University

25 Qs

3ICTH7H8DSA

3ICTH7H8DSA

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

Unit III Data Structures Quiz

Unit III Data Structures Quiz

University

25 Qs

Data Structures Quiz Unit III

Data Structures Quiz Unit III

University

25 Qs

Code war

Code war

University

30 Qs

EC8393_FDS_MODEL EXAM_3_PART A

EC8393_FDS_MODEL EXAM_3_PART A

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?