Search Header Logo

ADS Quiz 6

Authored by Naman Chauhan

Computers

University

Used 1+ times

ADS Quiz 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a forest in data structures?

Set of graphs

Set of disjoint trees

Binary tree

Tree with no leaves

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A tree is a special type of:

Stack

Queue

Graph

Array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the degree of a node?

Number of child nodes

Number of ancestors

Number of siblings

Tree height

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the depth of a node?

Number of children

Number of siblings

Number of edges from root

Number of leaves

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A leaf node is a node with:

One child

Two children

No children

No parent

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A binary tree is a tree in which each node has at most:

One child

Two children

Three children

No child

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an array representation of a binary tree, left child of node at index i is at:

2i

2i+1

i+1

2*i

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?