Trees

Trees

University

16 Qs

quiz-placeholder

Similar activities

ITF Chapter 1 Computing Devices

ITF Chapter 1 Computing Devices

University

14 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Python List

Python List

4th Grade - University

15 Qs

Determining System Requirements

Determining System Requirements

University

11 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

CIS2303 Week 4_5 Ch_3

CIS2303 Week 4_5 Ch_3

University

18 Qs

WML & WAP

WML & WAP

University

20 Qs

Trees

Trees

Assessment

Quiz

Computers

University

Practice Problem

Easy

Created by

Enugala Rajitha

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

16 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • Ungraded

Enter your Rollno

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a general tree, a node can have at most

1 child

2 children

Any number of children

No children

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The depth of a node in a tree is:

Number of leaves in the tree

Number of nodes in the path from root to the node

Number of edges from the node to the deepest leaf

Always equal to height of the tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A tree with ‘n’ nodes has exactly how many edges?

n

n – 1

n + 1

2n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A full binary tree is a tree in which:

Every node has 0 or 1 child

Every level must be completly filled

Every node has 0 or 2 children

All leaves are at the same level

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The maximum number of nodes in a binary tree of height h (with root at level 1) is:

2^h

2^h – 1

2^(h+1)

h^2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which traversal method is used in expression trees to get the prefix expression?

Preorder

Postorder

Inorder

Level Order

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers